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

Support observe backend health status #225

Open
vicanso opened this issue May 1, 2024 · 0 comments
Open

Support observe backend health status #225

vicanso opened this issue May 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@vicanso
Copy link

vicanso commented May 1, 2024

What is the problem your feature solves, or the need it fulfills?

I want to get the status change of backend, and send a notification. Now it only prints a warn log. https://github.com/cloudflare/pingora/blob/main/pingora-load-balancing/src/lib.rs#L229, I can get status change from logger.
Is it possible to support callback function to observe it?

Describe the solution you'd like

Supports to set callbacks like TlsAcceptCallbacks.

Describe alternatives you've considered

What other solutions, features, or workarounds have you considered that might also solve the issue?
What are the tradeoffs for these alternatives compared to what you're proposing?

Additional context

This could include references to documentation or papers, prior art, screenshots, or benchmark
results.

@eaufavor eaufavor added the enhancement New feature or request label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants