Open sykim1009 opened 1 year ago
relabelling happens after the metrics are collected, if you want to add a param to the request, it needs to go into "params":
- job_name: redfish-dell
metrics_path: /redfish
params:
group:
- redfish_dell
...
Hello, I'm testing redfish-exporter in prometheus. I want to consist redfish-exporter.yml file by grouping because operate several vendors(hpe,dell,lenovo...). so, I consist 2 config file(redfish-exporter.yml, prometheus.yml) like that.
groups: redfish_dell: username: dell_user password: dell_pw redifsh_lenovo: username: lenovo_user password: lenovo_user
prometheus.yml
Unfortunately, I got a Failed Log about no Credentials Error. (error error getting credentials app=redfish_exporter error=no credentials found for target 192.168.1.1 target=192.168.1.1)
Do you get any idea to solve this issue? Thanks.