Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Metrics for last machine contact #1896

Closed
2 tasks done
wrenix opened this issue Apr 18, 2024 · 1 comment
Closed
2 tasks done

Missing Metrics for last machine contact #1896

wrenix opened this issue Apr 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@wrenix
Copy link

wrenix commented Apr 18, 2024

Bug description

after:
#1492

several metrics does not exists anymore.

i miss the metrics headscale_last_update_seconds which was nice for alerting if a machine was not connect correct with tailscale.

Environment

  • OS:
  • Headscale version: main
  • Tailscale version: X
  • Headscale is behind a (reverse) proxy
  • Headscale runs in a container

To Reproduce

Logs and attachments

@wrenix wrenix added the bug Something isn't working label Apr 18, 2024
@kradalby
Copy link
Collaborator

kradalby commented Apr 21, 2024

Hi, this metric does not exist anymore due to a change in how we distribute updates. It will not return, but I am redoing the metrics that had been left and you can preview them in #1895.

The closest/most relevant for a similar purpose might be:

# HELP headscale_notifier_open_channels_total total count open channels in notifier
# TYPE headscale_notifier_open_channels_total gauge
headscale_notifier_open_channels_total 149

# HELP headscale_mapresponse_current_sessions_total total count open map response sessions
# TYPE headscale_mapresponse_current_sessions_total gauge
headscale_mapresponse_current_sessions_total 150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants