-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prometheus: check return value from CheckpointSet.ForEach (#622)
This PR modifies prometheus.Collect to reflect the change introduced by #557. The `export{Counter,Histogram,LastValue,Summary}` methods now all return an error instead of calling the error callback directly. The callback is now only called on the returned error from `ForEach`. fixes #563 Co-authored-by: Rahul Patel <[email protected]>
- Loading branch information
Showing
1 changed file
with
26 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters