Branch
Hash :
2f7f7364
Author :
Date :
2021-10-05T21:15:33
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
http_requests_total{job="apiserver", handler="/api/comments"}[5m]
http_requests_total offset 5m
http_requests_total{job=~".*server"}
----------------------------------------------------
[
"http_requests_total",
["context-labels", [
["punctuation", "{"],
["label-key", "job"],
["punctuation", "="],
["label-value", "\"apiserver\""],
["punctuation", ","],
["label-key", "handler"],
["punctuation", "="],
["label-value", "\"/api/comments\""],
["punctuation", "}"]
]],
["context-range", [
["punctuation", "["],
["range-duration", "5m"],
["punctuation", "]"]
]],
"\r\n\r\nhttp_requests_total ",
["keyword", "offset"],
["context-range", [
["range-duration", "5m"]
]],
"\r\n\r\nhttp_requests_total",
["context-labels", [
["punctuation", "{"],
["label-key", "job"],
["punctuation", "=~"],
["label-value", "\".*server\""],
["punctuation", "}"]
]]
]
----------------------------------------------------
Checks simple time series queries.