You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/prober
Anton Tolchanov 5336362e64 prober: export probe class and metrics from bandwidth prober
- Wrap each prober function into a probe class that allows associating
  metric labels and custom metrics with a given probe;
- Make sure all existing probe classes set a `class` metric label;
- Move bandwidth probe size from being a metric label to a separate
  gauge metric; this will make it possible to use it to calculate
  average used bandwidth using a PromQL query;
- Also export transfer time for the bandwidth prober (more accurate than
  the total probe time, since it excludes connection establishment
  time).

Updates tailscale/corp#17912

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
7 months ago
..
derp.go prober: export probe class and metrics from bandwidth prober 7 months ago
derp_test.go prober: export probe class and metrics from bandwidth prober 7 months ago
dns.go prober: export probe class and metrics from bandwidth prober 7 months ago
dns_example_test.go prober: export probe class and metrics from bandwidth prober 7 months ago
dns_test.go prober: export probe class and metrics from bandwidth prober 7 months ago
http.go prober: export probe class and metrics from bandwidth prober 7 months ago
prober.go prober: export probe class and metrics from bandwidth prober 7 months ago
prober_test.go prober: export probe class and metrics from bandwidth prober 7 months ago
tcp.go prober: export probe class and metrics from bandwidth prober 7 months ago
tls.go prober: export probe class and metrics from bandwidth prober 7 months ago
tls_test.go prober: add TLS probe constructor to split dial addr from cert name 9 months ago