I am running into issue were I can not access prometheus metrics. When accessing https://my_server_hostname/api/plugins/org.graylog.plugins.metrics.prometheus/metrics I get: {"error":"no handler found for uri [/api/plugins/org.graylog.plugins.metrics.prometheus/metrics] and method [GET]"}
Maybe you have any tips what could be causing this issue?
So I’m understanding that you installed the Prometheus metrics reporter from the metrics reporter plugin repo, correct? Did you install the latest release? If so, I’d honestly recommend getting up to 4.1 with the built-in prometheus endpoint. The reporter plugin has some idiosyncrasies that make graphing some of the data difficult, unless you build off of one of the branches that another community member has contributed. The new endpoint, while there’s still some work to be done, does things in a far more repeatable and reliable way when it comes to graphing the metrics.
If that’s not an option, can you elaborate as to how you installed the metrics reporter plugin?