Cloud Fortified: What is the moduleType in the Publish Metrics API?

What is the moduleType body attribute in the Publish Metrics API?
In the API description it says that it’s required but I called without it and got a 200 success response.

If I have multiple synthetic tests, how do I identify for which one I’m publishing the metric?

@leonardonunes thanks for bringing this to our attention. The moduleType field is indeed not currently required, despite what the documentation says. I will fix that now. I will also review the rules that should apply for this field.

A module type is a valid key in the "modules" field in atlassian-connect.json, e.g. "generalPages".

There is currently no way for you to identify named synthetic tests when you are submitting metrics. I will log a feature request for that.

2 Likes