mongodb_exporter icon indicating copy to clipboard operation
mongodb_exporter copied to clipboard

Commandline switch `--web.telemetry-path` seems not wrking

Open mmafshari77 opened this issue 3 years ago • 1 comments
trafficstars

No matter which value I provide in the commandline for --web.telemetry-path switch, the web page is just accessible at /metrics url. Another problem related to this problem is that the / path returns 404 not found status code which is not like other prometheus exporters -- other prom exporters return a 202 status code at the / url and some information about the exporter itself.

mmafshari77 avatar Aug 13 '22 07:08 mmafshari77

This line is likely to blame for the --web.telemetry-path issue. Should be referencing this field instead of hardcoding "/metrics". Can't speak to the other issue.

a-gavin avatar Aug 16 '22 16:08 a-gavin