[PR #505] [MERGED] Fixed docs metrics default endpoint #1446

Closed
opened 2025-12-29 02:30:07 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/505
Author: @y0ngb1n
Created: 3/17/2022
Status: Merged
Merged: 3/17/2022
Merged by: @kradalby

Base: mainHead: fix-docs-metrics-endpoint


📝 Commits (1)

  • 537ecb8 docs: fixed /metrics endpoint 8080 → 9090, reference config-example.yaml

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 docs/running-headscale-container.md (+2 -1)
📝 docs/running-headscale-linux.md (+1 -1)

📄 Description

Fixed docs /metrics default endpoint 8080 → 9090.

Reference config-example.yaml:

# Address to listen to /metrics, you may want
# to keep this endpoint private to your internal
# network
#
metrics_listen_addr: 127.0.0.1:9090

Verify headscale is available:

curl http://127.0.0.1:9090/metrics

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/505 **Author:** [@y0ngb1n](https://github.com/y0ngb1n) **Created:** 3/17/2022 **Status:** ✅ Merged **Merged:** 3/17/2022 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `fix-docs-metrics-endpoint` --- ### 📝 Commits (1) - [`537ecb8`](https://github.com/juanfont/headscale/commit/537ecb8db0abdb5112c77626d1dc9e379dad4f5d) docs: fixed `/metrics` endpoint `8080 → 9090`, reference `config-example.yaml` ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/running-headscale-container.md` (+2 -1) 📝 `docs/running-headscale-linux.md` (+1 -1) </details> ### 📄 Description Fixed docs `/metrics` default endpoint `8080 → 9090`. Reference [`config-example.yaml`](https://github.com/juanfont/headscale/blob/1579ffb66ad3da3e76ea920734f78886405aac66/config-example.yaml#L23): ``` # Address to listen to /metrics, you may want # to keep this endpoint private to your internal # network # metrics_listen_addr: 127.0.0.1:9090 ``` Verify `headscale` is available: ```shell curl http://127.0.0.1:9090/metrics ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:30:07 +01:00
adam closed this issue 2025-12-29 02:30:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1446