Exposing /debug/metrics and /debug/metrics/prometheus was dependent on --pprof, which also exposes other HTTP APIs. This change makes it possible to run the metrics server on an independent endpoint without enabling pprof. |
||
|---|---|---|
| .. | ||
| api.go | ||
| flags.go | ||
| loudpanic_fallback.go | ||
| loudpanic.go | ||
| trace_fallback.go | ||
| trace.go | ||