mirror of https://github.com/prometheus/prometheus
0e48c18bbf
This allows the following expression syntaxes for selecting timeseries: foo (already valid before) foo{} (already valid before) {job="prometheus"} (new, select all timeseries for job "prometheus") Omitting both the metric name *and* any label matchers ("" or "{}") will still yield a syntax error. To get all timeseries, you could do: {__name__=~".*"} or, without relying on knowledge about __metric__: {job=~".*"} Change-Id: Ifee000b9ac0184ef6ced18411069c7f2699a2dda |
||
---|---|---|
.. | ||
ast | ||
fixtures | ||
manager | ||
Makefile | ||
alerting.go | ||
helpers.go | ||
helpers_test.go | ||
lexer.l | ||
lexer.l.go | ||
load.go | ||
parser.y | ||
parser.y.go | ||
recording.go | ||
rules.go | ||
rules_test.go |