- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleNewGauge (0.2 sec)
-
pkg/monitoring/example_gauge_test.go
import "istio.io/istio/pkg/monitoring" var pushLatency = monitoring.NewGauge( "push_latency_seconds", "Duration, measured in seconds, of the last push", monitoring.WithUnit(monitoring.Seconds), ) func ExampleNewGauge() { // only the last recorded value (99.2) will be exported for this gauge pushLatency.Record(77.3) pushLatency.Record(22.8) pushLatency.Record(99.2)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 994 bytes - Viewed (0)