Skip to content

Commit e62644c

Browse files
committed
Add test case for labels attached to servergroups
1 parent f639aa1 commit e62644c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/testdata/selectors.test

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ eval instant at 18000s rate(http_requests{group=~".*ry", instance="1"}[1m])
3434
{az="a", job="api-server", instance="1", group="canary"} 4
3535
{az="b", job="api-server", instance="1", group="canary"} 4
3636

37+
eval instant at 18000s rate(http_requests{group=~".*ry", instance="1", az="a"}[1m])
38+
{az="a", job="api-server", instance="1", group="canary"} 4
39+
3740
eval instant at 18000s rate(http_requests{instance!="3"}[1m] offset 10000s)
3841
{az="a", job="api-server", instance="0", group="production"} 1
3942
{az="a", job="api-server", instance="1", group="production"} 2

0 commit comments

Comments
 (0)