One decoded metric series.
Overview
The metric path is a QUERY parameter, not a path segment. Registry paths
are hierarchical and contain / (fleet/egress_gbps), which a single path
segment cannot carry — the first cut of this used /series/{path} and
matched only the first segment. A wildcard route would work but would put
{*path} in the generated spec, so the query parameter is both simpler and
truer to what the spec should say.
Parameters
Metric path, exactly as listed by /api/v1/metrics/paths.
Code example
curl -X GET "https://example.com/api/v1/metrics/series?path=string"Response example
{ "path": "string", "values": [ 0.1 ], "scale": "string", "unit": "string"}Response body
200Decoded samples plus the scale that produced themOne captured series, already decoded.