jetty/jetty.project
Voir sur GitHubImprove ConnectionStatistics to report dynamic information
Open
#5 826 ouverte le 18 déc. 2020
Help WantedLow Priority
Métriques du dépôt
- Stars
- (3 701 stars)
- Métriques de merge PR
- (Merge moyen 6j 14h) (48 PRs mergées en 30 j)
Description
Jetty version 9.4.x
Description
ConnectionStatistics gathers statistics from the connections only when they are closed.
This is not optimal for benchmarks that perform a run, but then keep connections open.
It would be great if ConnectionStatistics (or perhaps another class, say DynamicConnectionStatistics) had a mode where upon an API call (e.g. DynamicConnectionStatistics.collect()) would run through the open connections and gather the statistics from them.