v1
latestOpenAPI 3.0.12026-07-17221165.2 KBPerforms a label set lookup
This command operates in one of three modes.
It can perform a label set lookup for one or more time series identifiers, when given the series parameter. The JSON response for this mode contains the same information as the pmseries - I /-- labels option.
$ curl -s http://localhost:44322/series/labels?series=605fc77742cd0317597291329561ac4e50c0dd12 | pmjson
It can produce a list of all known label names, in the absence of name , names or series parameters. The JSON responses for this mode contains the same information as the pmseries - l /-- labels option.
$ curl -s http://localhost:44322/series/labels | pmjson
It can produce a list of all known label values for a given label name or names . The JSON response for this mode contains the same information as the pmseries - v /-- values option.
$ curl -s http://localhost:44322/series/labels?names=hostname,domainname | pmjson
References: pmSeriesLabels(3), pmSeriesLabelValues(3)
Query parameters
Comma-separated list of series identifiers
Glob pattern string to match on all labels
Find all known label values for given name
Comma-separated list of label names
Request identifier sent back with response
Response
OK