Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Prometheus port in Metric Exporting Guide #1195

Open
BBruce-Graylog opened this issue Jul 12, 2021 · 2 comments
Open

Prometheus port in Metric Exporting Guide #1195

BBruce-Graylog opened this issue Jul 12, 2021 · 2 comments

Comments

@BBruce-Graylog
Copy link

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.

@bernd
Copy link
Member

bernd commented Jul 13, 2021

@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.

image

Do you have an idea for improving this to make it more clear?

@BBruce-Graylog
Copy link
Author

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."

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants