Closed mikegorman-nf closed 2 years ago
Need to make sure this works for the heartbeat code as well. Want the context of what the heartbeat is to/from.
Control channel and links both use heartbeats now. Control channels now close on heartbeat timeout. Links will log a warning which includes the link id, so this should be resolved. Please re-open if it needs further refinement.
The following message indicates a probe failure, but there is no context to know what probe failed, significantly impairing its usefulness. If there was some context as to what the target was, it could assist in building a timeline.
Aug 23 02:14:21 ziti-edge-router ziti-router[448542]: {"file":"/home/runner/go/pkg/mod/github.com/openziti/foundation@v0.15.60/metrics/latency.go:41","func":"github.com/openziti/foundation/metrics.ProbeLatency.func2","level":"error","msg":"latency timeout after [10s]","time":"2021-08-23T02:14:21Z"}