Package | Description |
---|---|
org.ballerinalang.util.metrics | |
org.ballerinalang.util.metrics.noop | |
org.ballerinalang.util.metrics.spi |
Modifier and Type | Method and Description |
---|---|
Gauge |
Gauge.Builder.build() |
Gauge |
MetricRegistry.gauge(MetricId id,
StatisticConfig... statisticConfigs)
Use
builder(String) . |
default Gauge |
Gauge.register()
Registers the gauge instance to the metrics registry.
|
Gauge |
Gauge.Builder.register() |
Gauge |
MetricRegistry.register(Gauge gauge)
Registers the gauge metrics instance.
|
Gauge |
Gauge.Builder.register(MetricRegistry registry) |
Modifier and Type | Method and Description |
---|---|
Gauge |
MetricRegistry.register(Gauge gauge)
Registers the gauge metrics instance.
|
void |
MetricRegistry.unregister(Gauge gauge)
Unregister the gauge metrics instance.
|
Modifier and Type | Class and Description |
---|---|
class |
NoOpGauge
Implementation of No-Op
Gauge . |
Modifier and Type | Method and Description |
---|---|
Gauge |
NoOpMetricProvider.newGauge(MetricId metricId,
StatisticConfig... statisticConfigs) |
Modifier and Type | Method and Description |
---|---|
Gauge |
MetricProvider.newGauge(MetricId metricId,
StatisticConfig... statisticConfigs)
This returns the new instance of the Gauge metric.
|
Copyright © 2018 WSO2. All rights reserved.