Skip to content

[v15] Always create debug socket and expose health endpoints#51890

Merged
hugoShaka merged 1 commit intobranch/v15from
hugo/backport-51616-to-branch/v15
Feb 5, 2025
Merged

[v15] Always create debug socket and expose health endpoints#51890
hugoShaka merged 1 commit intobranch/v15from
hugo/backport-51616-to-branch/v15

Conversation

@hugoShaka
Copy link
Copy Markdown
Contributor

Manual backport of #51616 to branch/v15.

The conflict was caused by branch/v15 using go 1.21 (which doesn't have the 1.22 routing enhancements). See commit 2150c0c and PR #42122 for more info.

changelog: Teleport agents always create the debug.sock UNIX socket. The configuration field debug_service.enabled now controls if the debug and metrics endpoints are available via the UNIX socket.
changelog: The debug.sock UNIX socket now exposes the liveness and readiness endpoints.
changelog: The debug.sock UNIX socket now exposes the metrics endpoint.

* Always create debug socket and expose health endpoints

* Consolidate the diagnostic multiplexers in a single function

* Fix tests

* Apply suggestions from code review

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>

---------

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>
@hugoShaka hugoShaka added this pull request to the merge queue Feb 5, 2025
Merged via the queue into branch/v15 with commit 8b71a97 Feb 5, 2025
@hugoShaka hugoShaka deleted the hugo/backport-51616-to-branch/v15 branch February 5, 2025 20:45
This was referenced Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants