Skip to content

Commit

Permalink
fix prometheus_listen_addr by removing tcp:// pseudo scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
jchappelow committed Sep 24, 2024
1 parent 63b38e8 commit 68d35d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kwild/config/default_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ chunk_request_timeout = "10s"
prometheus = false

# listen address for prometheus metrics
prometheus_listen_addr = "tcp://0.0.0.0:26660"
prometheus_listen_addr = "0.0.0.0:26660"

# Maximum number of simultaneous connections.
# 0 - unlimited.
Expand Down
2 changes: 1 addition & 1 deletion cmd/kwild/config/test_data/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ chunk_request_timeout = "10s"
prometheus = true

# listen address for prometheus metrics
prometheus_listen_addr = "tcp://9.8.7.6:20660"
prometheus_listen_addr = "9.8.7.6:20660"

# Maximum number of simultaneous connections.
# 0 - unlimited.
Expand Down

0 comments on commit 68d35d4

Please # to comment.