Get metrics for a dataset
Lists the metric names in a metrics dataset between start and end. With Accept: application/vnd.metrics-info.v2+json, returns an object keyed by metric name with each metric's type, temporality, and unit instead.
Parameters
| Property | Type | Location | Description |
|---|---|---|---|
dataset | stringRequired | path | The dataset to retrieve metrics from |
start | stringRequired | query | Start time for timeframe to return (RFC3339 format) |
end | stringRequired | query | End time for timeframe to return (RFC3339 format) |
Request
Try itRun this request against your Axiom organization
Credentials stay in this browser tab and are only sent to Axiom when you run the request.
Response
200Metric names. With `Accept: application/vnd.metrics-info.v2+json`, an object keyed by metric name whose values have `type` (for example `Gauge`), `temporality` (for example `Cumulative`, or null), and `unit` (empty string when not defined).404Dataset not found.defaultUser or system error