| Package | Description |
|---|---|
| com.linecorp.armeria.client.endpoint.healthcheck |
Filters out unhealthy
Endpoints from an existing
EndpointGroup by sending health check requests. |
| com.linecorp.armeria.common.metric |
Common metric collection utilities.
|
| com.linecorp.armeria.internal.common |
Various classes used internally.
|
| com.linecorp.armeria.internal.common.metric |
Various classes used internally.
|
| com.linecorp.armeria.server |
Server core.
|
| Modifier and Type | Method and Description |
|---|---|
MeterBinder |
HealthCheckedEndpointGroup.newMeterBinder(MeterIdPrefix idPrefix)
Returns a newly-created
MeterBinder which binds the stats about this
HealthCheckedEndpointGroup. |
| Modifier and Type | Method and Description |
|---|---|
MeterIdPrefix |
MeterIdPrefixFunction.activeRequestPrefix(MeterRegistry registry,
RequestOnlyLog log)
Creates a
MeterIdPrefix for the active request counter gauges from the specified
RequestOnlyLog. |
MeterIdPrefix |
MeterIdPrefix.append(String suffix)
Returns a newly-created instance whose name is concatenated by the specified
suffix. |
MeterIdPrefix |
MeterIdPrefix.appendWithTags(String suffix,
Iterable<Tag> tags)
Returns a newly-created instance whose name is concatenated by the specified
suffix and
tags. |
MeterIdPrefix |
MeterIdPrefix.appendWithTags(String suffix,
String... tags)
Returns a newly-created instance whose name is concatenated by the specified
suffix and
tags. |
MeterIdPrefix |
MeterIdPrefixFunction.completeRequestPrefix(MeterRegistry registry,
RequestLog log)
Creates a
MeterIdPrefix from the specified complete RequestLog. |
MeterIdPrefix |
MeterIdPrefix.withTags(Iterable<Tag> tags)
Returns a newly-created instance whose name is concatenated by the specified
tags. |
MeterIdPrefix |
MeterIdPrefix.withTags(String... tags)
Returns a newly-created instance whose name is concatenated by the specified
tags. |
| Modifier and Type | Method and Description |
|---|---|
default MeterIdPrefixFunction |
MeterIdPrefixFunction.andThen(BiFunction<MeterRegistry,MeterIdPrefix,MeterIdPrefix> function)
Returns a
MeterIdPrefixFunction that applies transformation on the MeterIdPrefix
returned by this function. |
default MeterIdPrefixFunction |
MeterIdPrefixFunction.andThen(BiFunction<MeterRegistry,MeterIdPrefix,MeterIdPrefix> function)
Returns a
MeterIdPrefixFunction that applies transformation on the MeterIdPrefix
returned by this function. |
static MeterIdPrefixFunction |
MeterIdPrefixFunction.of(BiFunction<? super MeterRegistry,? super RequestOnlyLog,MeterIdPrefix> function)
Returns a
MeterIdPrefixFunction which generates a MeterIdPrefix from the given
MeterRegistry and RequestOnlyLog. |
| Modifier and Type | Method and Description |
|---|---|
static void |
PathAndQuery.registerMetrics(MeterRegistry registry,
MeterIdPrefix idPrefix) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
MicrometerUtil.register(MeterRegistry registry,
MeterIdPrefix idPrefix,
Class<T> type,
BiFunction<MeterRegistry,MeterIdPrefix,T> factory)
Associates a newly-created object with the specified
MeterIdPrefix or returns an existing one if
exists already. |
static <T> void |
MicrometerUtil.registerLater(MeterRegistry registry,
MeterIdPrefix idPrefix,
Class<T> type,
BiFunction<MeterRegistry,MeterIdPrefix,T> factory)
Similar to
MicrometerUtil.register(MeterRegistry, MeterIdPrefix, Class, BiFunction), but used when
a registration has to be nested, because otherwise the registration may enter an infinite loop,
as described here. |
static void |
CaffeineMetricSupport.setup(MeterRegistry registry,
MeterIdPrefix idPrefix,
<any> cache) |
static void |
CaffeineMetricSupport.setup(MeterRegistry registry,
MeterIdPrefix idPrefix,
<any> cache,
Ticker ticker) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
MicrometerUtil.register(MeterRegistry registry,
MeterIdPrefix idPrefix,
Class<T> type,
BiFunction<MeterRegistry,MeterIdPrefix,T> factory)
Associates a newly-created object with the specified
MeterIdPrefix or returns an existing one if
exists already. |
static <T> void |
MicrometerUtil.registerLater(MeterRegistry registry,
MeterIdPrefix idPrefix,
Class<T> type,
BiFunction<MeterRegistry,MeterIdPrefix,T> factory)
Similar to
MicrometerUtil.register(MeterRegistry, MeterIdPrefix, Class, BiFunction), but used when
a registration has to be nested, because otherwise the registration may enter an infinite loop,
as described here. |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
Router.registerMetrics(MeterRegistry registry,
MeterIdPrefix idPrefix)
Registers the stats of this
Router to the specified MeterRegistry. |
Copyright © 2020 LeanCloud. All rights reserved.