Hi All,
I would like to modify a label but it seems that prometheus doesn't find
the label. I have checked the source of the relabel, I found nothing.
The metric:
zxAnGponRmAniRxOptLevel{ifDescr="gponxxxxx", ifIndex="285278721",
instance="xxx.xxx.xxx.xxx:yyyyy", job="query",
zxAnGponOnuMgmtRegistrationInfo="1,ZTEGXXXXXXXX", zxAnGponRmAniIndex="1",
zxAnPonOnuIndex="2"}
3661
The config:
relabel_configs:
- source_labels: [zxangpononumgmtregistrationinfo]
regex: .*,(.*)
replacement: "$1"
target_label: "SN"
Do you have any idea?
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/cdc0132a-b375-46df-8ecb-809ce3be5362n%40googlegroups.com.