Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
googollee committed Aug 31, 2023
1 parent 04a5522 commit d871572
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions examples/prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit d871572

Please sign in to comment.