Skip to content

Conversation

@kolbe
Copy link
Collaborator

@kolbe kolbe commented Oct 10, 2024

This PR adds 2 things:

  1. a new /debug API endpoint which toggles blip.Debugging. it returns a string telling you whether it's been enabled or disabled.
  2. a signal listener on SIGUSR1 that toggles blip.Debugging. this will write to stderr whether it's turned debugging on or off.

I figured it might be helpful to support both of these. In a k8s context, it might be more simple to send a signal to the process running in the container than to figure out where its API endpoint is listening.

@kolbe kolbe closed this Nov 21, 2024
@kolbe kolbe reopened this Nov 21, 2024
@kolbe kolbe closed this Dec 5, 2024
@kolbe kolbe reopened this Dec 5, 2024
@kolbe kolbe merged commit d6840c6 into block:main Dec 5, 2024
3 checks passed
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.

2 participants