Open BBruce-Graylog opened 3 years ago
@BBruce-Graylog The section explains how to use a custom port for the Prometheus exporter so port 9090
is an example for a custom port.
Do you have an idea for improving this to make it more clear?
My concern is people who copy & paste code blocks grabbing the example and using it as it has the Prometheus Server port (9090). Would it be possible to use a different port number in the example?
Also, switching the arrangement of the sentences preceding the example do make it more clear that we have a preferred method, but if the customer wants to do it differently, this is how to do it.
"We suggest leaving the default export port set to 9833 because it is already registered with Prometheus, however you can specify a custom export hostname, IP address, or port number using the configuration below."
Prometheus Port Listed appears to be Core Component port
Context
On guide page https://docs.graylog.org/en/latest/pages/metrics.html under the Prometheus Metric Exporting section, the final segment under Configuration mentions using port 9833 (registered port for Graylog with Prometheus), but the example uses port 9090 (port for Core Component Prometheus Server)
Update the example or explain why the difference in directions versus example.