Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upParameter labels (__param_X) lost on configuration reload #1100
Comments
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil mind giving this a look and whether you can reproduce. |
fabxc
added this to the v0.16.0 milestone
Sep 21, 2015
This comment has been minimized.
This comment has been minimized.
|
I've noticed some bug in this area previously, but haven't tracked it down. |
This comment has been minimized.
This comment has been minimized.
iwinux
commented
Sep 25, 2015
|
Got the same problem with Prometheus v0.16.0rc1 and blackbox_exporter: param The relabeling config is almost the same as the example from https://github.com/prometheus/blackbox_exporter. |
fabxc
added
the
bug
label
Sep 25, 2015
This comment has been minimized.
This comment has been minimized.
iwinux
commented
Sep 25, 2015
|
Here's how to reproduce: config# prometheus.yml
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
scrape_configs:
- job_name: blackbox-icmp
metrics_path: /probe
params:
module: [icmp]
target_groups:
- targets:
- host1
- host2
relabel_configs:
- source_labels: [__address__]
regex: '([^:]+)(:\d+)?'
target_label: __param_target
replacement: ${1}
- source_labels: [__param_target]
regex: '(.*)'
target_label: instance
replacement: ${1}
- source_labels: []
regex: '.*'
target_label: __address__
replacement: localhost:9115steps
|
This comment has been minimized.
This comment has been minimized.
|
Awesome, thanks! |
juliusv
assigned
brian-brazil
Sep 25, 2015
This comment has been minimized.
This comment has been minimized.
|
The problem here is |
This comment has been minimized.
This comment has been minimized.
|
Cool, thanks! On Sat, Sep 26, 2015 at 5:33 PM Brian Brazil notifications@github.com
|
brian-brazil
referenced this issue
Sep 26, 2015
Merged
retrieval: Add URL parameters to fullLabels too #1118
brian-brazil
closed this
in
#1118
Sep 26, 2015
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
raineth commentedSep 19, 2015
I am attempting to use the SNMP exporter, and my relabel_configs matches the example in the snmp_extractor README exactly.
My configuration works, but upon a configuration reload (SIGHUP) the query parameters are lost: they disappear from the endpoint's configuration on the status page, the actual queries sent to the snmp_exporter no longer have the 'address' parameter, and the targets are marked unhealthy because snmp_exporter is now (rightly) returning 400s.