public abstract static class AnnotatedGaugeAdapter.GaugeAdapterImpl extends Object implements AnnotatedGaugeAdapter
AnnotatedGaugeAdapter.GaugeAdapterImpl| Modifier and Type | Field and Description |
|---|---|
(package private) io.micrometer.core.instrument.Gauge |
gauge |
(package private) MetricDescriptor |
id |
(package private) MpMetadata |
metadata |
(package private) String[] |
tags |
(package private) String |
targetName |
| Constructor and Description |
|---|
GaugeAdapterImpl(String name,
String description,
String targetName,
String[] tags) |
GaugeAdapterImpl(String name,
String description,
String targetName,
String baseUnit,
String[] tags) |
| Modifier and Type | Method and Description |
|---|---|
String |
baseUnit() |
String |
description() |
MetricDescriptor |
getId() |
MpMetadata |
getMetadata() |
io.micrometer.core.instrument.Meter |
getMeter() |
String |
getTargetName() |
org.eclipse.microprofile.metrics.MetricType |
getType() |
String |
name() |
AnnotatedGaugeAdapter.GaugeAdapterImpl |
register(MetricDescriptor id,
io.micrometer.core.instrument.MeterRegistry registry)
Called by MpRegistryAdapter to register the gauge
|
String[] |
tags() |
String |
toString() |
final MpMetadata metadata
final String targetName
final String[] tags
MetricDescriptor id
io.micrometer.core.instrument.Gauge gauge
public GaugeAdapterImpl(String name, String description, String targetName, String[] tags)
public AnnotatedGaugeAdapter.GaugeAdapterImpl register(MetricDescriptor id, io.micrometer.core.instrument.MeterRegistry registry)
register in interface AnnotatedGaugeAdapterpublic String name()
name in interface AnnotatedGaugeAdapterpublic String description()
description in interface AnnotatedGaugeAdapterpublic String baseUnit()
baseUnit in interface AnnotatedGaugeAdapterpublic String[] tags()
tags in interface AnnotatedGaugeAdapterpublic io.micrometer.core.instrument.Meter getMeter()
getMeter in interface MeterHolderpublic MetricDescriptor getId()
getId in interface AnnotatedGaugeAdapterpublic MpMetadata getMetadata()
getMetadata in interface AnnotatedGaugeAdapterpublic org.eclipse.microprofile.metrics.MetricType getType()
getType in interface MeterHolderpublic String getTargetName()
getTargetName in interface AnnotatedGaugeAdapterCopyright © 2021 JBoss by Red Hat. All rights reserved.