jetty/jetty.project

Improve ConnectionStatistics to report dynamic information

Open

#5.826 aberto em 18 de dez. de 2020

Ver no GitHub
 (7 comments) (0 reactions) (1 assignee)Java (1.913 forks)batch import
Help WantedLow Priority

Métricas do repositório

Stars
 (3.701 stars)
Métricas de merge de PR
 (Mesclagem média 6d 14h) (48 fundiu PRs em 30d)

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.

Guia do colaborador