| 27 | ) |
| 28 | |
| 29 | type PrometheusStatsReporter struct { |
| 30 | handler http.Handler |
| 31 | inFlightRequests *prometheus.GaugeVec |
| 32 | } |
| 33 | |
| 34 | func NewPrometheusStatsReporter() *PrometheusStatsReporter { |
| 35 | inFlightRequestsGauge := promauto.NewGaugeVec(prometheus.GaugeOpts{ |
nothing calls this directly
no outgoing calls
no test coverage detected