HistogramCollector collects the duration of a request
| 30 | |
| 31 | // HistogramCollector collects the duration of a request |
| 32 | type HistogramCollector struct { |
| 33 | metric *prometheus.HistogramVec |
| 34 | } |
| 35 | |
| 36 | // HistogramCollectorBuckets define the buckets when passing the metric |
| 37 | var HistogramCollectorBuckets = []string{"operation", "status_code"} |
nothing calls this directly
no outgoing calls
no test coverage detected