envoyproxy / envoyproxy/envoy-mobile
stats: wire callback for background task
Aperta
no stalebot
observability/stats
- Lingua principale
- Java
- Stelle
- 566
- Fork
- 85
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
https://github.com/envoyproxy/envoy/pull/10097 added the ability to flush stats outside of the flushing interval. This initial feature allow us to do #573. However, flushing stats is not synchronous so right now the ability to flush is best-effort.
We don't plan on doing work in envoy to have a truly synchronous flushing path. However, what we can do to improve flushing probability during app backgrounding is set up a background task and have a version of flushStats in envoy that fires a callback when flushing is finished.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.