public interface MetricsFactory
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MetricsFactory.MetricBuilder |
static interface |
MetricsFactory.TimeRecorder
A time recorder that tracks elapsed time using incremental updates
using a duration with a specified time unit.
|
static class |
MetricsFactory.Type
Registry type or scope.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
MICROMETER
A well-known string for Micrometer metrics provided by the Micrometer Metrics quarkus extension
|
static String |
MP_METRICS
A well-known string for MicroProfile metrics provided by the SmallRye Metrics quarkus extension
|
| Modifier and Type | Method and Description |
|---|---|
default MetricsFactory.MetricBuilder |
builder(String name) |
MetricsFactory.MetricBuilder |
builder(String name,
MetricsFactory.Type type) |
boolean |
metricsSystemSupported(String name) |
static final String MP_METRICS
static final String MICROMETER
boolean metricsSystemSupported(String name)
MICROMETER,
MP_METRICSdefault MetricsFactory.MetricBuilder builder(String name)
name - The name of the metric (required)MetricsFactory.TypeMetricsFactory.MetricBuilder builder(String name, MetricsFactory.Type type)
name - The name of the metric (required)type - The scope or type of the metric (optional, may not be used)MetricsFactory.TypeCopyright © 2021 JBoss by Red Hat. All rights reserved.