Skip to content

Conversation

@L0ric0
Copy link
Contributor

@L0ric0 L0ric0 commented Oct 5, 2025

Adds the ability to change the network interface the prometheus_client is listening on. To keep the behavior of listening on all network interfaces with a ipv4 address supply "0.0.0.0" to the new metrics.hostname config parameter.

metrics.hostname was chousen as the name for the config parameter to conform to the already existing appservice.hostname parameter.
The appservice.hostname parameter was not used to be able to have the prometheus_client listen on a different interface than the appservice.

@tulir tulir merged commit 1dd7d49 into mautrix:master Oct 24, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants