Skip to content

Prometheus metrics#31

Closed
DataDalton wants to merge 1 commit intolklynet:mainfrom
DataDalton:Prometheus-integration
Closed

Prometheus metrics#31
DataDalton wants to merge 1 commit intolklynet:mainfrom
DataDalton:Prometheus-integration

Conversation

@DataDalton
Copy link
Copy Markdown
Contributor

Prometheus text formatted metrics endpoint

@DataDalton
Copy link
Copy Markdown
Contributor Author

#22

@Kariton
Copy link
Copy Markdown

Kariton commented Jan 3, 2026

would it be easily possible to introduce another listening port for metrics?
for those running the page publicly it may be undesirable to expose prometheus metrics to the world.

@DataDalton
Copy link
Copy Markdown
Contributor Author

DataDalton commented Jan 3, 2026

would it be easily possible to introduce another listening port for metrics? for those running the page publicly it may be undesirable to expose prometheus metrics to the world.

In terms of security this wouldn't provide any benefit, the entire network is public anyways since it's a DHT p2p network with no central authority, this also doesn't provide any metrics that would be considered hidden or secret, it doesn't provide any metrics that anyone wouldn't be able to just get

@Kariton
Copy link
Copy Markdown

Kariton commented Jan 3, 2026

i agree. but from other projects i know that this will be a reoccurring question and i wanted to ask that beforehand.
and if someone would care it is possible to prevent access to the /metrics endpoint with a reverse proxy.

@lklynet lklynet closed this Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants