-
-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
Was curious if there was support for reloading and saw that a feature was added quite a while ago for at least reloading the contents of the collector files (#15). However I cannot seem to get this to work, assuming I'm doing it right. Some additional documentation on this would be helpful.
To Reproduce
Steps to reproduce the behavior:
Running sql_exporter with reload feature enabled
ps aux | grep sql_exporter
ccp_mon+ 136764 0.0 3.1 748216 40916 ? Ssl 16:19 0:00 /usr/bin/sql_exporter -config.file=/etc/sql_exporter/sql_exporter.yml -web.listen-address=0.0.0.0:9399 -log.level=info -web.enable-reload
I changed the content of one of my collector files to remove a metric. I then hit the reload endpoint
# curl localhost:9399/reload
curl: (52) Empty reply from server
No change in the output of the metrics endpoint. Restarting sql_exporter confirms the change in collector file is valid and the metric is removed/readded on change
Expected behavior
Metrics are added/removed when reload endpoint is hit
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working