v1

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

List active tags and aggregations

List tags and aggregations that are actively queried on dashboards, notebooks, monitors, the Metrics Explorer, and using the API for a given metric name.

get/api/v2/metrics/{metric_name}/active-configurations

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 604,800 (1 week), minimum value is 7200 (2 hours), maximum value is 2,630,000 (1 month).

Response

Success

Example response

{
  "data": {
    "attributes": {
      "active_aggregations": [
        {
          "space": "sum",
          "time": "sum"
        },
        {
          "space": "sum",
          "time": "count"
        }
      ],
      "active_tags": [
        "app",
        "datacenter"
      ]
    },
    "id": "test.metric.latency",
    "type": "actively_queried_configurations"
  }
}