|
|
|
@ -58,6 +58,51 @@ eval instant at 0s http_requests{foo!~"bar", job="api-server", instance="1", x!=
|
|
|
|
|
http_requests{job="api-server", instance="1", group="production"} 0
|
|
|
|
|
http_requests{job="api-server", instance="1", group="canary"} 0
|
|
|
|
|
|
|
|
|
|
# https://github.com/prometheus/prometheus/issues/7994
|
|
|
|
|
eval instant at 8000s rate(http_requests{group=~"(?i:PRO).*"}[1m])
|
|
|
|
|
{job="api-server", instance="0", group="production"} 1
|
|
|
|
|
{job="api-server", instance="1", group="production"} 2
|
|
|
|
|
|
|
|
|
|
eval instant at 8000s rate(http_requests{group=~".*?(?i:PRO).*"}[1m])
|
|
|
|
|
{job="api-server", instance="0", group="production"} 1
|
|
|
|
|
{job="api-server", instance="1", group="production"} 2
|
|
|
|
|
|
|
|
|
|
eval instant at 8000s rate(http_requests{group=~".*(?i:DUC).*"}[1m])
|
|
|
|
|
{job="api-server", instance="0", group="production"} 1
|
|
|
|
|
{job="api-server", instance="1", group="production"} 2
|
|
|
|
|
|
|
|
|
|
eval instant at 8000s rate(http_requests{group=~".*(?i:TION)"}[1m])
|
|
|
|
|
{job="api-server", instance="0", group="production"} 1
|
|
|
|
|
{job="api-server", instance="1", group="production"} 2
|
|
|
|
|
|
|
|
|
|
eval instant at 8000s rate(http_requests{group=~".*(?i:TION).*?"}[1m])
|
|
|
|
|
{job="api-server", instance="0", group="production"} 1
|
|
|
|
|
{job="api-server", instance="1", group="production"} 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 8000s rate(http_requests{group=~"((?i)PRO).*"}[1m])
|
|
|
|
|
{job="api-server", instance="0", group="production"} 1
|
|
|
|
|
{job="api-server", instance="1", group="production"} 2
|
|
|
|
|
|
|
|
|
|
eval instant at 8000s rate(http_requests{group=~".*((?i)DUC).*"}[1m])
|
|
|
|
|
{job="api-server", instance="0", group="production"} 1
|
|
|
|
|
{job="api-server", instance="1", group="production"} 2
|
|
|
|
|
|
|
|
|
|
eval instant at 8000s rate(http_requests{group=~".*((?i)TION)"}[1m])
|
|
|
|
|
{job="api-server", instance="0", group="production"} 1
|
|
|
|
|
{job="api-server", instance="1", group="production"} 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eval instant at 8000s rate(http_requests{group=~"(?i:PRODUCTION)"}[1m])
|
|
|
|
|
{job="api-server", instance="0", group="production"} 1
|
|
|
|
|
{job="api-server", instance="1", group="production"} 2
|
|
|
|
|
|
|
|
|
|
eval instant at 8000s rate(http_requests{group=~".*(?i:C).*"}[1m])
|
|
|
|
|
{job="api-server", instance="0", group="production"} 1
|
|
|
|
|
{job="api-server", instance="1", group="production"} 2
|
|
|
|
|
{job="api-server", instance="0", group="canary"} 3
|
|
|
|
|
{job="api-server", instance="1", group="canary"} 4
|
|
|
|
|
|
|
|
|
|
clear
|
|
|
|
|
load 1m
|
|
|
|
|
metric1{a="a"} 0+1x100
|
|
|
|
|