Class MetricAppBean
java.lang.Object
org.eclipse.microprofile.metrics.test.MetricAppBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcountMe()voidcountMeA()longcountMeB()voidvoidWe create a few metrics with names that are outside the characters that OpenMetrics allows which is [a-zA-Z0-9_]voidgaugeMe()longgaugeMeA()longgaugeMeB()longlonglonglongvoidvoidtimeMe()voidtimeMeA()void
-
Field Details
-
NO_TAG_COUNTER
- See Also:
-
TAGGED_COUNTER
- See Also:
-
NO_TAG_HISTOGRAM
- See Also:
-
TAGGED_HISTOGRAM
- See Also:
-
NO_TAG_TIMER
- See Also:
-
TAGGED_TIMER
- See Also:
-
NO_TAG_GAUGE
- See Also:
-
TAGGED_GAUGE
- See Also:
-
SHARED_METRIC_NAME
- See Also:
-
-
Constructor Details
-
MetricAppBean
public MetricAppBean()
-
-
Method Details
-
countMeMetricNameScopeA
-
timeMeMetricNameScopeB
-
gaugeMeMetricNameScopeC
public long gaugeMeMetricNameScopeC() -
gaugeMeTagged
public long gaugeMeTagged() -
gaugeMeTaggedOne
public long gaugeMeTaggedOne() -
gaugeMeTaggedTwo
public long gaugeMeTaggedTwo() -
countMe
public void countMe() -
countMeA
@Counted(name="metricTest.test1.countMeA", absolute=true, description="count-me-a-description") public void countMeA() -
countMeB
-
gaugeMe
public void gaugeMe() -
gaugeMeA
public long gaugeMeA() -
gaugeMeB
public long gaugeMeB() -
histogramMe
public void histogramMe() -
timeMe
public void timeMe() -
timeMeA
-
createPromMetrics
public void createPromMetrics()We create a few metrics with names that are outside the characters that OpenMetrics allows which is [a-zA-Z0-9_]
-