mirror of https://github.com/prometheus/prometheus
Add fmt rule check: labels with the name __name__ are invalid (#7787)
Signed-off-by: Max Neverov <neverov.max@gmail.com>pull/7790/head
parent
21a753c4e2
commit
7c8bbd6bcb
@ -0,0 +1,7 @@
|
||||
groups:
|
||||
- name: yolo
|
||||
rules:
|
||||
- record: hola
|
||||
expr: 1
|
||||
labels:
|
||||
__name__: anything
|
Loading…
Reference in new issue