Custom Metrics
Required permissions
Operations
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Key for the custom metric filter
Entity identifier - can be a tag or CID
Start date for the filter (inclusive). Default: 6 months
End date for the filter (inclusive)
Number of results to return per page, between 1 and 1000. Default 250.
250Page number to return, 0-indexed. Default 0.
0Successfully retrieved custom metrics data points
Invalid filters
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Key for the custom metric filter
Entity identifier - can be a tag or CID
Data point to be added
Timestamp for the data point. Note: It can't be earlier than 6 months
Value for the data point
Successfully added data point
No content
Invalid filters
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
No content
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Key for the custom metric filter
Entity identifier - can be a tag or CID
Data points to be added
Successfully added data points
No content
Invalid filters
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
No content
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Key for the custom metric filter
Entity identifier - can be a tag or CID
Start date for the deletion (inclusive)
End date for the deletion (inclusive)
Successfully deleted data points
Invalid filters
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
No content
Last updated
Was this helpful?