v1

latestOpenAPI 3.0.12026-07-17221165.2 KB
SCALABLE TIME SERIES

Performs 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)

get/series/labels

Query parameters

seriesstring

Comma-separated list of series identifiers

matchstring

Glob pattern string to match on all labels

namestring

Find all known label values for given name

namesstring

Comma-separated list of label names

clientstring

Request identifier sent back with response

Response

OK