Rate this page:
This resource represents metrics. Use this resource to send metric values into a component's metric source.
POST /gateway/api/compass/v1/metrics
Sends a metric value into a metric source for a component.
NONE
string
The ID of the metric source to send the value into.
number
The metric value to send.
double
string
The time the metric value was collected.
date-time
1 2 3 4 5 6 7 8 9 10
curl --request POST \
--url 'https://your-domain.atlassian.net/gateway/api/compass/v1/metrics' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"metricSourceId": "<string>",
"value": 25,
"timestamp": "<string>"
}'
Returned if the request is successful.
Content type | Value |
---|---|
application/json |
Rate this page: