aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/promql/regex.promql
blob: fa61094a3c879f1536ec3a3d59bb2f833baea515 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
foo{path=~"^foo$"}[5m] or
#          ^ @string.regexp
foo{path!~"[a-zA-Z0-9]{1,3}"}[5m] or
#          ^ @string.regexp
foo{path="/api/users/{userId}"}[5m] or
#         ^ @string
foo{path!="/api/users/{userId}"}[5m]
#          ^ @string

# vim: ft=promql