Metrics Receiver
Send your application’s metrics to this endpoint.
Body
API access key generated for you application.
The unique ID of your application.
Unix timestamp of creation of your metric. You can specify the granularity from seconds to nanoseconds. Just make sure it is as realtime as possible. If not specified, it will be auto filled.
Name/ID of client/person who creating this metrics.
The unique ID of your metric. You can pre-register this from console for easy querying.
Key-value pair of string tags to assign to this metric.
Response
Response will be a plain string stating the status of request.
Response Status Codes and their probable meanings.
Response: submitted
Status: Your metric has been successfully recorded.
Response: submitted
Status: Your metric has been successfully recorded.
Response: error reading request body
Status: The request you send is of invalid format. Please cross check the data types and structure once.
Response: missing header ‘Authorization’
Status: Your request did not contain the requried header and hence has been discarded.
Response: unknown token
Status: The access key you send in header was not registered with us.
Response: unknown token
Status: Most likely the token you sent was not registered for your application, or, it simply does not exist.
Response: something went wrong
Status: Something went wrong from our side internally and we were not able to register your metric.