From d871572a4ce531b5c20762b042867d83d44f73fc Mon Sep 17 00:00:00 2001 From: Googol Lee Date: Thu, 31 Aug 2023 09:49:00 +0200 Subject: [PATCH] Update test --- examples/prometheus_test.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/examples/prometheus_test.go b/examples/prometheus_test.go index 0038c6f..3eee4bd 100644 --- a/examples/prometheus_test.go +++ b/examples/prometheus_test.go @@ -78,11 +78,17 @@ func ExampleMonitoringWithPrometheus() { } // Output: - // 200 text/plain; version=0.0.4; charset=utf-8 # HELP mycounter + // 200 text/plain; version=0.0.4; charset=utf-8 # HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles. + // # TYPE go_gc_duration_seconds summary + // + // # HELP mycounter // # TYPE mycounter counter // mycounter 0 - // 200 text/plain; version=0.0.4; charset=utf-8 # HELP mycounter + // 200 text/plain; version=0.0.4; charset=utf-8 # HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles. + // # TYPE go_gc_duration_seconds summary + // + // # HELP mycounter // # TYPE mycounter counter // mycounter 100 }