This commit is contained in:
eduarrrd 2024-11-13 16:32:34 +13:00 committed by GitHub
commit cc40069302
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -16,10 +16,10 @@
// by using its methods, finally calling Add or Push, like this: // by using its methods, finally calling Add or Push, like this:
// //
// // Easy case: // // Easy case:
// push.New("http://example.org/metrics", "my_job").Gatherer(myRegistry).Push() // push.New("http://example.org/", "my_job").Gatherer(myRegistry).Push()
// //
// // Complex case: // // Complex case:
// push.New("http://example.org/metrics", "my_job"). // push.New("http://example.org/", "my_job").
// Collector(myCollector1). // Collector(myCollector1).
// Collector(myCollector2). // Collector(myCollector2).
// Grouping("zone", "xy"). // Grouping("zone", "xy").