all: gofmt for Go 1.19
Updates #5210 Change-Id: Ib02cd5e43d0a8db60c1f09755a8ac7b140b670be Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
a029989aff
commit
116f55ff66
@ -239,13 +239,13 @@ func (v varExporter) String() string {
|
||||
// WritePrometheus writes the the state of all probes to w.
|
||||
//
|
||||
// For each probe, WritePrometheus exports 5 variables:
|
||||
// - <prefix>_interval_secs, how frequently the probe runs.
|
||||
// - <prefix>_start_secs, when the probe last started running, in seconds since epoch.
|
||||
// - <prefix>_end_secs, when the probe last finished running, in seconds since epoch.
|
||||
// - <prefix>_latency_millis, how long the last probe cycle took, in
|
||||
// milliseconds. This is just (end_secs-start_secs) in an easier to
|
||||
// graph form.
|
||||
// - <prefix>_result, 1 if the last probe succeeded, 0 if it failed.
|
||||
// - <prefix>_interval_secs, how frequently the probe runs.
|
||||
// - <prefix>_start_secs, when the probe last started running, in seconds since epoch.
|
||||
// - <prefix>_end_secs, when the probe last finished running, in seconds since epoch.
|
||||
// - <prefix>_latency_millis, how long the last probe cycle took, in
|
||||
// milliseconds. This is just (end_secs-start_secs) in an easier to
|
||||
// graph form.
|
||||
// - <prefix>_result, 1 if the last probe succeeded, 0 if it failed.
|
||||
//
|
||||
// Each probe has a set of static key/value labels (defined once at
|
||||
// probe creation), which are added as Prometheus metric labels to
|
||||
|
Reference in New Issue
Block a user