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. |
||
|---|---|---|
| .. | ||
| cmd.go | ||
| customflags_test.go | ||
| customflags.go | ||
| flags_legacy.go | ||
| flags_test.go | ||
| flags.go | ||
| prompt_test.go | ||
| prompt.go | ||