Hi,
The following mappings file (I include only the relevant part)
- match: "servers.*_guadaltel_es_guadaltel_es.*.*"
name: "${3}"
labels:
instance: "${1}.guadaltel.es"
type: "${2}"
throws the following error
ts=2023-10-04T09:56:07.639Z caller=main.go:83 level=info msg="Starting graphite_exporter" version_info="(version=0.13.1, branch=HEAD, revision=4848deacb8fd5a1087379026857ad3764a00aa8d)"
ts=2023-10-04T09:56:07.639Z caller=main.go:84 level=info build_context="(go=go1.19.3, user=root@e4fc80d65bcd, date=20221205-15:57:35)"
ts=2023-10-04T09:56:07.639Z caller=main.go:94 level=error msg="Error loading metric mapping config" err="invalid match: servers.*_guadaltel_es_guadaltel_es.*.*"
But if I use match: "servers.*.*.*" or match: "servers.xxxx_guadaltel_es_guadaltel_es.*.*" it works properly.
Any suggestion?
Regards,
Hi,
The following mappings file (I include only the relevant part)
throws the following error
But if I use
match: "servers.*.*.*"ormatch: "servers.xxxx_guadaltel_es_guadaltel_es.*.*"it works properly.Any suggestion?
Regards,