|
|
@ -901,6 +901,66 @@ eval instant at 10m absent_over_time({job="ingress"}[4m])
|
|
|
|
|
|
|
|
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Testdata for present_over_time()
|
|
|
|
|
|
|
|
eval instant at 1m present_over_time(http_requests[5m])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 1m present_over_time(http_requests{handler="/foo"}[5m])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 1m present_over_time(http_requests{handler!="/foo"}[5m])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 1m present_over_time(http_requests{handler="/foo", handler="/bar", handler="/foobar"}[5m])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 1m present_over_time(rate(nonexistant[5m])[5m:])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 1m present_over_time(http_requests{handler="/foo", handler="/bar", instance="127.0.0.1"}[5m])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
load 1m
|
|
|
|
|
|
|
|
http_requests{path="/foo",instance="127.0.0.1",job="httpd"} 1+1x10
|
|
|
|
|
|
|
|
http_requests{path="/bar",instance="127.0.0.1",job="httpd"} 1+1x10
|
|
|
|
|
|
|
|
httpd_handshake_failures_total{instance="127.0.0.1",job="node"} 1+1x15
|
|
|
|
|
|
|
|
httpd_log_lines_total{instance="127.0.0.1",job="node"} 1
|
|
|
|
|
|
|
|
ssl_certificate_expiry_seconds{job="ingress"} NaN NaN NaN NaN NaN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 5m present_over_time(http_requests[5m])
|
|
|
|
|
|
|
|
{instance="127.0.0.1", job="httpd", path="/bar"} 1
|
|
|
|
|
|
|
|
{instance="127.0.0.1", job="httpd", path="/foo"} 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 5m present_over_time(rate(http_requests[5m])[5m:1m])
|
|
|
|
|
|
|
|
{instance="127.0.0.1", job="httpd", path="/bar"} 1
|
|
|
|
|
|
|
|
{instance="127.0.0.1", job="httpd", path="/foo"} 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 0m present_over_time(httpd_log_lines_total[30s])
|
|
|
|
|
|
|
|
{instance="127.0.0.1",job="node"} 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 1m present_over_time(httpd_log_lines_total[30s])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 15m present_over_time(http_requests[5m])
|
|
|
|
|
|
|
|
{instance="127.0.0.1", job="httpd", path="/bar"} 1
|
|
|
|
|
|
|
|
{instance="127.0.0.1", job="httpd", path="/foo"} 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 16m present_over_time(http_requests[5m])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 16m present_over_time(http_requests[6m])
|
|
|
|
|
|
|
|
{instance="127.0.0.1", job="httpd", path="/bar"} 1
|
|
|
|
|
|
|
|
{instance="127.0.0.1", job="httpd", path="/foo"} 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 16m present_over_time(httpd_handshake_failures_total[1m])
|
|
|
|
|
|
|
|
{instance="127.0.0.1", job="node"} 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 16m present_over_time({instance="127.0.0.1"}[5m])
|
|
|
|
|
|
|
|
{instance="127.0.0.1",job="node"} 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 21m present_over_time({job="grok"}[20m])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 30m present_over_time({instance="127.0.0.1"}[5m:5s])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 5m present_over_time({job="ingress"}[4m])
|
|
|
|
|
|
|
|
{job="ingress"} 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 10m present_over_time({job="ingress"}[4m])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clear
|
|
|
|
|
|
|
|
|
|
|
|
# Testing exp() sqrt() log2() log10() ln()
|
|
|
|
# Testing exp() sqrt() log2() log10() ln()
|
|
|
|
load 5m
|
|
|
|
load 5m
|
|
|
|
exp_root_log{l="x"} 10
|
|
|
|
exp_root_log{l="x"} 10
|
|
|
|