Skip to content

[v16] Always create debug socket and expose health endpoints#51888

Merged
hugoShaka merged 1 commit intobranch/v16from
hugo/backport-51771-to-branch/v16
Feb 5, 2025
Merged

[v16] Always create debug socket and expose health endpoints#51888
hugoShaka merged 1 commit intobranch/v16from
hugo/backport-51771-to-branch/v16

Conversation

@hugoShaka
Copy link
Copy Markdown
Contributor

Manual backport of #51616 to branch/v16 due to minor conflicts.

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 changed the title [v16] Always create debug socket and expose health endpoints (#) [v16] Always create debug socket and expose health endpoints Feb 5, 2025
@hugoShaka hugoShaka added this pull request to the merge queue Feb 5, 2025
Merged via the queue into branch/v16 with commit 7b1f168 Feb 5, 2025
@hugoShaka hugoShaka deleted the hugo/backport-51771-to-branch/v16 branch February 5, 2025 20:29
@camscale camscale mentioned this pull request 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