Get metric latest record
Retrieve latest records for a list of metrics
Description
This endpoint facilitates the retrieval of the most recent data points for a specified set of metric keys. It effectively provides access to the current values of the metrics.
Endpoint
GET https://sentry.aleno.ai/metrics/records/latest
Query parameters
Name | Required | Type | Description |
---|---|---|---|
keys | Required | string list | Target metric keys for which to retrieve current value. (each metric is defined with a unique key). |
Payload
No payload.
CURL example
Result
Returns a list of Record Objects representing the latest record for the given keys. A Record is represented by:
Name | Type | Description |
---|---|---|
key | string | Target metric key |
point | Point | The value and timestamp of the most recent record for the target metric |
Last updated