Skip to content

feat: separate prometheus listen host configuration#1075

Merged
yokofly merged 1 commit intodevelopfrom
separate-prometheus-listen-host
Dec 25, 2025
Merged

feat: separate prometheus listen host configuration#1075
yokofly merged 1 commit intodevelopfrom
separate-prometheus-listen-host

Conversation

@yokofly
Copy link
Copy Markdown
Collaborator

@yokofly yokofly commented Dec 25, 2025

PR checklist:

  • Did you run ClangFormat ?
  • Did you separate headers to a different section in existing community code base ?
  • Did you surround proton: starts/ends for new code in existing community code base ?

Please write user-readable short description of the changes:
For now, it shares the global listen_host as other public servers. User like to only opens up prometheus to outside and all of other servers are listening on localhost

prometheus:
  listen_host: ...     # <<<<<<<<<<<<< Add this config. If it is not there, fallback to the global one under `node:` section
  asynchronous_metrics: true
  cluster: true
  endpoint: /metrics
  events: true
  external_stream: true
  materialized_view: true
  metrics: true
  port: 9363
  query_info: true
  status_info: true

@yokofly yokofly merged commit fd48285 into develop Dec 25, 2025
3 of 6 checks passed
@yokofly yokofly deleted the separate-prometheus-listen-host branch December 25, 2025 01:51
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.

2 participants