Skip to content

Commit

Permalink
Add test case for labels attached to servergroups
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksontj committed May 2, 2018
1 parent f639aa1 commit e62644c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/testdata/selectors.test
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ eval instant at 18000s rate(http_requests{group=~".*ry", instance="1"}[1m])
{az="a", job="api-server", instance="1", group="canary"} 4
{az="b", job="api-server", instance="1", group="canary"} 4

eval instant at 18000s rate(http_requests{group=~".*ry", instance="1", az="a"}[1m])
{az="a", job="api-server", instance="1", group="canary"} 4

eval instant at 18000s rate(http_requests{instance!="3"}[1m] offset 10000s)
{az="a", job="api-server", instance="0", group="production"} 1
{az="a", job="api-server", instance="1", group="production"} 2
Expand Down

0 comments on commit e62644c

Please sign in to comment.