v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Metrics

List distinct metric volumes by metric name

View hourly average cardinality for the given metric name over the look back period. For Metric Name Pricing customers, view total point volume for the given metric name over the look back period.

get/api/v2/metrics/{metric_name}/volumes

Path parameters

metric_namestring required

The name of the metric.

Query parameters

window[seconds]integer

The number of seconds of look back (from now). Default value is 3,600 (1 hour), maximum value is 2,592,000 (1 month).

Response

Success

Example response

{
  "data": {
    "attributes": {
      "distinct_volume": 10
    },
    "id": "test.metric.latency",
    "type": "distinct_metric_volumes"
  }
}