(handlerName string, handler http.Handler)
| 48 | ) |
| 49 | |
| 50 | func InstrumentWithCounter(handlerName string, handler http.Handler) http.HandlerFunc { |
| 51 | return promhttp.InstrumentHandlerCounter( |
| 52 | httpCnt.MustCurryWith(prometheus.Labels{"handler": handlerName}), |
| 53 | handler, |
| 54 | ) |
| 55 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…