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

use tsweb debugger #2420

Merged
merged 6 commits into from
Feb 11, 2025
Merged

use tsweb debugger #2420

merged 6 commits into from
Feb 11, 2025

Conversation

kradalby
Copy link
Collaborator

@kradalby kradalby commented Feb 9, 2025

This PR switches the homegrown debug endpoint to using tsweb.Debugger, a neat toolkit with batteries included for pprof and friends, and making it easy to add additional debug info:

I've started out by adding a bunch of "introspect" endpoints
image

So users can see the acl, filter, config, derpmap and connected nodes as headscale sees them.

@kradalby kradalby requested a review from juanfont as a code owner February 9, 2025 14:32
Signed-off-by: Kristoffer Dalby <[email protected]>
Signed-off-by: Kristoffer Dalby <[email protected]>
Signed-off-by: Kristoffer Dalby <[email protected]>
Signed-off-by: Kristoffer Dalby <[email protected]>
@kradalby
Copy link
Collaborator Author

kradalby commented Feb 9, 2025

Also statsviz:
image

@kradalby kradalby enabled auto-merge (squash) February 10, 2025 18:03
@kradalby kradalby merged commit 6403c8d into juanfont:main Feb 11, 2025
138 of 141 checks passed
@nblock nblock added this to the v0.26.0 milestone Feb 12, 2025
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.

3 participants