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?