From cf3812094b779cad27e22bc2b063d18e3cdc65b1 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 9 Jul 2019 12:31:01 +0000 Subject: [PATCH] Document that probe counters are available as Prometheus metrics --- site/building.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site/building.md b/site/building.md index 1cc4ba2d1..86a32134d 100644 --- a/site/building.md +++ b/site/building.md @@ -62,6 +62,8 @@ The Scope Probe is instrumented with various counters and timers. To have it dum kill -USR1 $(pgrep -f scope-probe) docker logs weavescope +If you run with `--probe.http.listen` enabled, these are exposed as Prometheus metrics instead, via http at `/metrics`. + ## Profiling Both the Scope App and the Scope Probe offer [HTTP endpoints with profiling information](https://golang.org/pkg/net/http/pprof/).