| Package | Description |
|---|---|
| com.linecorp.armeria.common.metric |
Common metric collection utilities.
|
| io.micrometer.core.instrument |
Copyright 2017 Pivotal Software, Inc.
|
| io.micrometer.core.instrument.composite |
Copyright 2017 Pivotal Software, Inc.
|
| io.micrometer.core.instrument.cumulative |
Copyright 2017 Pivotal Software, Inc.
|
| io.micrometer.core.instrument.distribution |
Copyright 2017 Pivotal Software, Inc.
|
| io.micrometer.core.instrument.dropwizard |
Copyright 2017 Pivotal Software, Inc.
|
| io.micrometer.core.instrument.logging |
Copyright 2017 Pivotal Software, Inc.
|
| io.micrometer.core.instrument.noop |
Copyright 2017 Pivotal Software, Inc.
|
| io.micrometer.core.instrument.search |
Copyright 2017 Pivotal Software, Inc.
|
| io.micrometer.core.instrument.simple |
Copyright 2017 Pivotal Software, Inc.
|
| io.micrometer.core.instrument.step |
Copyright 2017 Pivotal Software, Inc.
|
| Modifier and Type | Method and Description |
|---|---|
protected Timer |
NoopMeterRegistry.newTimer(Meter.Id id,
DistributionStatisticConfig histogramConfig,
PauseDetector pauseDetector) |
static Timer |
MoreMeters.newTimer(MeterRegistry registry,
String name,
Iterable<Tag> tags)
Returns a newly-registered
Timer configured by MoreMeters.distributionStatisticConfig(). |
static Timer |
MoreMeters.timerWithDefaultQuantiles(MeterRegistry registry,
String name,
Iterable<Tag> tags)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTimer |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Timer |
MeterRegistry.newTimer(Meter.Id id,
DistributionStatisticConfig distributionStatisticConfig,
PauseDetector pauseDetector)
Build a new timer to be added to the registry.
|
Timer |
Timer.Builder.register(MeterRegistry registry)
Add the timer to a single registry, or return an existing timer in that registry.
|
static Timer |
Metrics.timer(String name,
Iterable<Tag> tags)
Measures the time taken for short tasks and the count of these tasks.
|
Timer |
MeterRegistry.timer(String name,
Iterable<Tag> tags)
Measures the time taken for short tasks and the count of these tasks.
|
static Timer |
Metrics.timer(String name,
String... tags)
Measures the time taken for short tasks and the count of these tasks.
|
Timer |
MeterRegistry.timer(String name,
String... tags)
Measures the time taken for short tasks and the count of these tasks.
|
| Modifier and Type | Method and Description |
|---|---|
long |
Timer.Sample.stop(Timer timer)
Records the duration of the operation
|
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
Meter.match(Function<Gauge,T> visitGauge,
Function<Counter,T> visitCounter,
Function<Timer,T> visitTimer,
Function<DistributionSummary,T> visitSummary,
Function<LongTaskTimer,T> visitLongTaskTimer,
Function<TimeGauge,T> visitTimeGauge,
Function<FunctionCounter,T> visitFunctionCounter,
Function<FunctionTimer,T> visitFunctionTimer,
Function<Meter,T> visitMeter)
|
default void |
Meter.use(Consumer<Gauge> visitGauge,
Consumer<Counter> visitCounter,
Consumer<Timer> visitTimer,
Consumer<DistributionSummary> visitSummary,
Consumer<LongTaskTimer> visitLongTaskTimer,
Consumer<TimeGauge> visitTimeGauge,
Consumer<FunctionCounter> visitFunctionCounter,
Consumer<FunctionTimer> visitFunctionTimer,
Consumer<Meter> visitMeter)
|
| Modifier and Type | Method and Description |
|---|---|
protected Timer |
CompositeMeterRegistry.newTimer(Meter.Id id,
DistributionStatisticConfig distributionStatisticConfig,
PauseDetector pauseDetector) |
| Modifier and Type | Class and Description |
|---|---|
class |
CumulativeTimer |
| Modifier and Type | Method and Description |
|---|---|
static HistogramGauges |
HistogramGauges.registerWithCommonFormat(Timer timer,
MeterRegistry registry)
Register a set of gauges for percentiles and histogram buckets that follow a common format when
the monitoring system doesn't have an opinion about the structure of this data.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DropwizardTimer |
| Modifier and Type | Method and Description |
|---|---|
protected Timer |
DropwizardMeterRegistry.newTimer(Meter.Id id,
DistributionStatisticConfig distributionStatisticConfig,
PauseDetector pauseDetector) |
| Modifier and Type | Method and Description |
|---|---|
protected Timer |
LoggingMeterRegistry.newTimer(Meter.Id id,
DistributionStatisticConfig distributionStatisticConfig,
PauseDetector pauseDetector) |
| Modifier and Type | Class and Description |
|---|---|
class |
NoopTimer |
| Modifier and Type | Method and Description |
|---|---|
Timer |
Search.timer() |
Timer |
RequiredSearch.timer() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Timer> |
Search.timers() |
Collection<Timer> |
RequiredSearch.timers() |
| Modifier and Type | Method and Description |
|---|---|
protected Timer |
SimpleMeterRegistry.newTimer(Meter.Id id,
DistributionStatisticConfig distributionStatisticConfig,
PauseDetector pauseDetector) |
| Modifier and Type | Class and Description |
|---|---|
class |
StepTimer |
| Modifier and Type | Method and Description |
|---|---|
protected Timer |
StepMeterRegistry.newTimer(Meter.Id id,
DistributionStatisticConfig distributionStatisticConfig,
PauseDetector pauseDetector) |
Copyright © 2020 LeanCloud. All rights reserved.