Related Assets to a Metric

GET {{baseUrl}}/api/v2/metrics/:metric_name/assets

Returns dashboards, monitors, notebooks, and SLOs that a metric is stored in, if any. Updated every 24 hours.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":{"id":"test.metric.latency","type":"metrics","relationships":{"dashboards":{"data":[{"id":"xxx-yyy-zzz","type":"dashboards"},{"id":"xxx-yyy-zzz","type":"dashboards"}]},"monitors":{"data":[{"id":"1775073","type":"monitors"},{"id":"1775073","type":"monitors"}]},"notebooks":{"data":[{"id":"12345","type":"notebooks"},{"id":"12345","type":"notebooks"}]},"slos":{"data":[{"id":"9ffef113b389520db54391d67d652dfb","type":"slos"},{"id":"9ffef113b389520db54391d67d652dfb","type":"slos"}]}}},"included":[{"id":"xxx-yyy-zzz","type":"dashboards","attributes":{"popularity":3.9081399422225482,"title":"f"}},{"id":"xxx-yyy-zzz","type":"dashboards","attributes":{"popularity":1.02405634518829,"title":"occaecat eu"}}]}