tailscale/prober
Anton Tolchanov 654247715c prober: allow probes to export gauge metrics
This allows each probe to easily export gauge metrics with consistent
naming scheme without integrating with expvar directly.

Note that it's a backwards incompatible change to ProbeFunc. Given
minimal usage of this module I don't think this is problematic, but I
can add a separate function here if you would prefer that.

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2022-10-17 11:12:29 +01:00
..
http.go prober: allow probes to export gauge metrics 2022-10-17 11:12:29 +01:00
notification.go prober: add utilities to generate alerts and warnings. 2022-10-16 23:34:04 -07:00
prober.go prober: allow probes to export gauge metrics 2022-10-17 11:12:29 +01:00
prober_test.go prober: allow probes to export gauge metrics 2022-10-17 11:12:29 +01:00
tcp.go prober: allow probes to export gauge metrics 2022-10-17 11:12:29 +01:00
tls.go prober: allow probes to export gauge metrics 2022-10-17 11:12:29 +01:00
tls_test.go prober: allow probes to export gauge metrics 2022-10-17 11:12:29 +01:00