You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Child classes of Counter, Gauge and Summary have get() methods for the current value.
This adds this capability to the base classes to make nolabel-objects able to get the current value.
In some cases I use metric values collected by Prometheus for internal calculations and statistics. It is very handy to directly use the existing instrumentation, otherwise I would have to duplicate the code.
I was wondering because the child-classes already had the getters but not the nolabel versions.
@brian-brazil
The build fails with the goal org.apache.maven.plugins:maven-javadoc-plugin:2.8:aggregate.
Do you have any idea what is going wrong here?
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Child classes of
Counter,GaugeandSummaryhaveget()methods for the current value.This adds this capability to the base classes to make nolabel-objects able to get the current value.