| Modifier and Type | Method and Description |
|---|---|
List<Tag> |
MeterIdPrefix.tags()
Returns the
Tags. |
List<Tag> |
MeterIdPrefix.tags(Iterable<Tag> tags)
Returns the
Tags concatenated by the specified tags. |
List<Tag> |
MeterIdPrefix.tags(String... tags)
Returns the
Tags concatenated by the specified tags. |
| Modifier and Type | Method and Description |
|---|---|
MeterIdPrefix |
MeterIdPrefix.appendWithTags(String suffix,
Iterable<Tag> tags)
Returns a newly-created instance whose name is concatenated by the specified
suffix and
tags. |
static DistributionSummary |
MoreMeters.newDistributionSummary(MeterRegistry registry,
String name,
Iterable<Tag> tags)
Returns a newly-registered
DistributionSummary configured by
MoreMeters.distributionStatisticConfig(). |
static Timer |
MoreMeters.newTimer(MeterRegistry registry,
String name,
Iterable<Tag> tags)
Returns a newly-registered
Timer configured by MoreMeters.distributionStatisticConfig(). |
static DistributionSummary |
MoreMeters.summaryWithDefaultQuantiles(MeterRegistry registry,
String name,
Iterable<Tag> tags)
Deprecated.
|
List<Tag> |
MeterIdPrefix.tags(Iterable<Tag> tags)
Returns the
Tags concatenated by the specified tags. |
static Timer |
MoreMeters.timerWithDefaultQuantiles(MeterRegistry registry,
String name,
Iterable<Tag> tags)
Deprecated.
|
default MeterIdPrefixFunction |
MeterIdPrefixFunction.withTags(Iterable<Tag> tags)
Returns a
MeterIdPrefixFunction that returns a newly created MeterIdPrefix which has
the specified labels added. |
MeterIdPrefix |
MeterIdPrefix.withTags(Iterable<Tag> tags)
Returns a newly-created instance whose name is concatenated by the specified
tags. |
| Constructor and Description |
|---|
MeterIdPrefix(String name,
Iterable<Tag> tags)
Creates a new instance.
|
| Constructor and Description |
|---|
CountedAspect(MeterRegistry meterRegistry,
Function<ProceedingJoinPoint,Iterable<Tag>> tagsBasedOnJoinPoint)
Constructs a new aspect with the given
meterRegistry and tags provider function. |
TimedAspect(MeterRegistry registry,
Function<ProceedingJoinPoint,Iterable<Tag>> tagsBasedOnJoinPoint) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableTag
Immutable
Tag. |
| Modifier and Type | Method and Description |
|---|---|
static Tag |
Tag.of(String key,
String value) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Tag> |
MeterRegistry.getConventionTags(Meter.Id id) |
List<Tag> |
Meter.Id.getConventionTags(NamingConvention namingConvention)
Tags that are sorted by key and formatted
|
List<Tag> |
Meter.Id.getTags() |
Iterable<Tag> |
Meter.Id.getTagsAsIterable() |
Iterator<Tag> |
Tags.iterator() |
Stream<Tag> |
Tags.stream()
Return a stream of the contained tags.
|
| Modifier and Type | Method and Description |
|---|---|
Tags |
Tags.and(Tag... tags)
Return a new
Tags instance by merging this collection and the specified tags. |
default int |
Tag.compareTo(Tag o) |
static Tags |
Tags.of(Tag... tags)
Return a new
Tags instance containing tags constructed from the specified tags. |
Meter.Id |
Meter.Id.withTag(Tag tag)
Generate a new id with an additional tag.
|
| Modifier and Type | Method and Description |
|---|---|
Tags |
Tags.and(Iterable<? extends Tag> tags)
Return a new
Tags instance by merging this collection and the specified tags. |
MeterRegistry.Config |
MeterRegistry.Config.commonTags(Iterable<Tag> tags)
Append a list of common tags to apply to all metrics reported to the monitoring system.
|
static Tags |
Tags.concat(Iterable<? extends Tag> tags,
Iterable<Tag> otherTags)
Return a new
Tags instance by concatenating the specified collections of tags. |
static Tags |
Tags.concat(Iterable<? extends Tag> tags,
Iterable<Tag> otherTags)
Return a new
Tags instance by concatenating the specified collections of tags. |
static Tags |
Tags.concat(Iterable<? extends Tag> tags,
String... keyValues)
Return a new
Tags instance by concatenating the specified tags and key/value pairs. |
static Counter |
Metrics.counter(String name,
Iterable<Tag> tags)
Tracks a monotonically increasing value.
|
Counter |
MeterRegistry.counter(String name,
Iterable<Tag> tags)
Tracks a monotonically increasing value.
|
<T extends Number> |
Metrics.More.counter(String name,
Iterable<Tag> tags,
T number)
Tracks a number, maintaining a weak reference on it.
|
<T extends Number> |
MeterRegistry.More.counter(String name,
Iterable<Tag> tags,
T number)
Tracks a number, maintaining a weak reference on it.
|
<T> FunctionCounter |
Metrics.More.counter(String name,
Iterable<Tag> tags,
T obj,
ToDoubleFunction<T> countFunction)
Tracks a monotonically increasing value, automatically incrementing the counter whenever
the value is observed.
|
<T> FunctionCounter |
MeterRegistry.More.counter(String name,
Iterable<Tag> tags,
T obj,
ToDoubleFunction<T> countFunction)
Tracks a monotonically increasing value, automatically incrementing the counter whenever
the value is observed.
|
static <T extends Number> |
Metrics.gauge(String name,
Iterable<Tag> tags,
T number)
Register a gauge that reports the value of the
Number. |
<T extends Number> |
MeterRegistry.gauge(String name,
Iterable<Tag> tags,
T number)
Register a gauge that reports the value of the
Number. |
static <T> T |
Metrics.gauge(String name,
Iterable<Tag> tags,
T obj,
ToDoubleFunction<T> valueFunction)
Register a gauge that reports the value of the object after the function
valueFunction is applied. |
<T> T |
MeterRegistry.gauge(String name,
Iterable<Tag> tags,
T obj,
ToDoubleFunction<T> valueFunction)
Register a gauge that reports the value of the object after the function
valueFunction is applied. |
static <T extends Collection<?>> |
Metrics.gaugeCollectionSize(String name,
Iterable<Tag> tags,
T collection)
Register a gauge that reports the size of the
Collection. |
<T extends Collection<?>> |
MeterRegistry.gaugeCollectionSize(String name,
Iterable<Tag> tags,
T collection)
Register a gauge that reports the size of the
Collection. |
static <T extends Map<?,?>> |
Metrics.gaugeMapSize(String name,
Iterable<Tag> tags,
T map)
Register a gauge that reports the size of the
Map. |
<T extends Map<?,?>> |
MeterRegistry.gaugeMapSize(String name,
Iterable<Tag> tags,
T map)
Register a gauge that reports the size of the
Map. |
LongTaskTimer |
Metrics.More.longTaskTimer(String name,
Iterable<Tag> tags)
Measures the time taken for long tasks.
|
LongTaskTimer |
MeterRegistry.More.longTaskTimer(String name,
Iterable<Tag> tags)
Measures the time taken for long tasks.
|
static Tags |
Tags.of(Iterable<? extends Tag> tags)
Return a new
Tags instance containing tags constructed from the specified source tags. |
Meter.Id |
Meter.Id.replaceTags(Iterable<Tag> tags)
Generate a new id replacing all tags with new ones.
|
static DistributionSummary |
Metrics.summary(String name,
Iterable<Tag> tags)
Measures the distribution of samples.
|
DistributionSummary |
MeterRegistry.summary(String name,
Iterable<Tag> tags)
Measures the distribution of samples.
|
Timer.Builder |
Timer.Builder.tags(Iterable<Tag> tags) |
TimeGauge.Builder<T> |
TimeGauge.Builder.tags(Iterable<Tag> tags) |
MultiGauge.Builder |
MultiGauge.Builder.tags(Iterable<Tag> tags) |
Meter.Builder |
Meter.Builder.tags(Iterable<Tag> tags) |
LongTaskTimer.Builder |
LongTaskTimer.Builder.tags(Iterable<Tag> tags) |
Gauge.Builder<T> |
Gauge.Builder.tags(Iterable<Tag> tags) |
FunctionTimer.Builder<T> |
FunctionTimer.Builder.tags(Iterable<Tag> tags) |
FunctionCounter.Builder<T> |
FunctionCounter.Builder.tags(Iterable<Tag> tags) |
DistributionSummary.Builder |
DistributionSummary.Builder.tags(Iterable<Tag> tags) |
Counter.Builder |
Counter.Builder.tags(Iterable<Tag> tags) |
<T> TimeGauge |
Metrics.More.timeGauge(String name,
Iterable<Tag> tags,
T obj,
TimeUnit timeFunctionUnit,
ToDoubleFunction<T> timeFunction)
A gauge that tracks a time value, to be scaled to the monitoring system's base time unit.
|
<T> TimeGauge |
MeterRegistry.More.timeGauge(String name,
Iterable<Tag> tags,
T obj,
TimeUnit timeFunctionUnit,
ToDoubleFunction<T> timeFunction)
A gauge that tracks a time value, to be scaled to the monitoring system's base time unit.
|
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.
|
<T> FunctionTimer |
Metrics.More.timer(String name,
Iterable<Tag> tags,
T obj,
ToLongFunction<T> countFunction,
ToDoubleFunction<T> totalTimeFunction,
TimeUnit totalTimeFunctionUnit)
A timer that tracks monotonically increasing functions for count and totalTime.
|
<T> FunctionTimer |
MeterRegistry.More.timer(String name,
Iterable<Tag> tags,
T obj,
ToLongFunction<T> countFunction,
ToDoubleFunction<T> totalTimeFunction,
TimeUnit totalTimeFunctionUnit)
A timer that tracks monotonically increasing functions for count and totalTime.
|
Meter.Id |
Meter.Id.withTags(Iterable<Tag> tags)
Generate a new id with an additional tag.
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<Tag> |
CacheMeterBinder.getTagsWithCacheName() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V,C extends <any>> |
JCacheMetrics.monitor(MeterRegistry registry,
C cache,
Iterable<Tag> tags)
Record metrics on a JCache cache.
|
static <K,V,C extends <any>> |
HazelcastCacheMetrics.monitor(MeterRegistry registry,
C cache,
Iterable<Tag> tags)
Record metrics on a Hazelcast cache.
|
static <C extends <any>> |
GuavaCacheMetrics.monitor(MeterRegistry registry,
C cache,
String cacheName,
Iterable<Tag> tags)
Record metrics on a Guava cache.
|
static <C extends <any>> |
CaffeineCacheMetrics.monitor(MeterRegistry registry,
C cache,
String cacheName,
Iterable<Tag> tags)
Record metrics on a Caffeine cache.
|
static Ehcache |
EhCache2Metrics.monitor(MeterRegistry registry,
Ehcache cache,
Iterable<Tag> tags)
Record metrics on an EhCache cache.
|
| Constructor and Description |
|---|
CacheMeterBinder(Object cache,
String cacheName,
Iterable<Tag> tags) |
CaffeineCacheMetrics(<any> cache,
String cacheName,
Iterable<Tag> tags)
Creates a new
CaffeineCacheMetrics instance. |
EhCache2Metrics(Ehcache cache,
Iterable<Tag> tags) |
GuavaCacheMetrics(<any> cache,
String cacheName,
Iterable<Tag> tags) |
HazelcastCacheMetrics(C cache,
Iterable<Tag> tags) |
JCacheMetrics(<any> cache,
Iterable<Tag> tags) |
| Modifier and Type | Method and Description |
|---|---|
static void |
DatabaseTableMetrics.monitor(MeterRegistry registry,
DataSource dataSource,
String dataSourceName,
String tableName,
Iterable<Tag> tags)
Record the row count for an individual database table.
|
| Constructor and Description |
|---|
DatabaseTableMetrics(DataSource dataSource,
String dataSourceName,
String tableName,
Iterable<Tag> tags)
Record the row count for an individual database table.
|
DatabaseTableMetrics(DataSource dataSource,
String query,
String dataSourceName,
String tableName,
Iterable<Tag> tags)
Record the result based on a query.
|
PostgreSQLDatabaseMetrics(DataSource postgresDataSource,
String database,
Iterable<Tag> tags) |
| Modifier and Type | Method and Description |
|---|---|
MicrometerHttpRequestExecutor.Builder |
MicrometerHttpRequestExecutor.Builder.tags(Iterable<Tag> tags) |
| Constructor and Description |
|---|
PoolingHttpClientConnectionManagerMetricsBinder(PoolingHttpClientConnectionManager connectionManager,
String name,
Iterable<Tag> tags)
Creates a metrics binder for the given pooling connection manager.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
JettyStatisticsMetrics.monitor(MeterRegistry meterRegistry,
StatisticsHandler statisticsHandler,
Iterable<Tag> tags) |
| Constructor and Description |
|---|
InstrumentedQueuedThreadPool(MeterRegistry registry,
Iterable<Tag> tags) |
JettyServerThreadPoolMetrics(ThreadPool threadPool,
Iterable<Tag> tags) |
JettyStatisticsMetrics(StatisticsHandler statisticsHandler,
Iterable<Tag> tags) |
| Modifier and Type | Method and Description |
|---|---|
static void |
HibernateMetrics.monitor(MeterRegistry registry,
EntityManagerFactory entityManagerFactory,
String entityManagerFactoryName,
Iterable<Tag> tags)
Deprecated.
since 1.1.2 in favor of
HibernateMetrics.monitor(MeterRegistry, SessionFactory, String, Iterable) |
static void |
HibernateMetrics.monitor(MeterRegistry registry,
SessionFactory sessionFactory,
String sessionFactoryName,
Iterable<Tag> tags)
Create
HibernateMetrics and bind to the specified meter registry. |
| Constructor and Description |
|---|
HibernateMetrics(EntityManagerFactory entityManagerFactory,
String entityManagerFactoryName,
Iterable<Tag> tags)
Deprecated.
since 1.1.2 in favor of
HibernateMetrics.HibernateMetrics(SessionFactory, String, Iterable) |
HibernateMetrics(SessionFactory sessionFactory,
String sessionFactoryName,
Iterable<Tag> tags)
Create a
HibernateMetrics. |
| Modifier and Type | Method and Description |
|---|---|
static ExecutorService |
ExecutorServiceMetrics.monitor(MeterRegistry registry,
ExecutorService executor,
String executorServiceName,
Tag... tags)
Record metrics on the use of an
ExecutorService. |
static Executor |
ExecutorServiceMetrics.monitor(MeterRegistry registry,
Executor executor,
String executorName,
Tag... tags)
Record metrics on the use of an
Executor. |
static ScheduledExecutorService |
ExecutorServiceMetrics.monitor(MeterRegistry registry,
ScheduledExecutorService executor,
String executorServiceName,
Tag... tags)
Record metrics on the use of a
ScheduledExecutorService. |
| Modifier and Type | Method and Description |
|---|---|
static ExecutorService |
ExecutorServiceMetrics.monitor(MeterRegistry registry,
ExecutorService executor,
String executorServiceName,
Iterable<Tag> tags)
Record metrics on the use of an
ExecutorService. |
static Executor |
ExecutorServiceMetrics.monitor(MeterRegistry registry,
Executor executor,
String executorName,
Iterable<Tag> tags)
Record metrics on the use of an
Executor. |
static ScheduledExecutorService |
ExecutorServiceMetrics.monitor(MeterRegistry registry,
ScheduledExecutorService executor,
String executorServiceName,
Iterable<Tag> tags)
Record metrics on the use of a
ScheduledExecutorService. |
| Constructor and Description |
|---|
ClassLoaderMetrics(Iterable<Tag> tags) |
DiskSpaceMetrics(File path,
Iterable<Tag> tags) |
ExecutorServiceMetrics(ExecutorService executorService,
String executorServiceName,
Iterable<Tag> tags) |
JvmGcMetrics(Iterable<Tag> tags) |
JvmMemoryMetrics(Iterable<Tag> tags) |
JvmThreadMetrics(Iterable<Tag> tags) |
| Constructor and Description |
|---|
KafkaConsumerMetrics(Iterable<Tag> tags) |
KafkaConsumerMetrics(MBeanServer mBeanServer,
Iterable<Tag> tags) |
| Constructor and Description |
|---|
Log4j2Metrics(Iterable<Tag> tags) |
Log4j2Metrics(Iterable<Tag> tags,
LoggerContext loggerContext) |
LogbackMetrics(Iterable<Tag> tags) |
LogbackMetrics(Iterable<Tag> tags,
LoggerContext context) |
| Modifier and Type | Method and Description |
|---|---|
OkHttpMetricsEventListener.Builder |
OkHttpMetricsEventListener.Builder.tags(Iterable<Tag> tags) |
| Constructor and Description |
|---|
FileDescriptorMetrics(Iterable<Tag> tags) |
ProcessorMetrics(Iterable<Tag> tags) |
UptimeMetrics(Iterable<Tag> tags) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TomcatMetrics.monitor(MeterRegistry registry,
Manager manager,
Iterable<Tag> tags) |
| Constructor and Description |
|---|
TomcatMetrics(Manager manager,
Iterable<Tag> tags) |
TomcatMetrics(Manager manager,
Iterable<Tag> tags,
MBeanServer mBeanServer) |
| Modifier and Type | Method and Description |
|---|---|
static MeterFilter |
MeterFilter.commonTags(Iterable<Tag> tags)
Add common tags that are applied to every meter created afterward.
|
| Modifier and Type | Method and Description |
|---|---|
static HistogramGauges |
HistogramGauges.register(HistogramSupport meter,
MeterRegistry registry,
Function<ValueAtPercentile,String> percentileName,
Function<ValueAtPercentile,Iterable<Tag>> percentileTags,
Function<ValueAtPercentile,Double> percentileValue,
Function<CountAtBucket,String> bucketName,
Function<CountAtBucket,Iterable<Tag>> bucketTags) |
static HistogramGauges |
HistogramGauges.register(HistogramSupport meter,
MeterRegistry registry,
Function<ValueAtPercentile,String> percentileName,
Function<ValueAtPercentile,Iterable<Tag>> percentileTags,
Function<ValueAtPercentile,Double> percentileValue,
Function<CountAtBucket,String> bucketName,
Function<CountAtBucket,Iterable<Tag>> bucketTags) |
| Constructor and Description |
|---|
TimedExecutor(MeterRegistry registry,
Executor delegate,
String executorName,
Iterable<Tag> tags) |
TimedExecutorService(MeterRegistry registry,
ExecutorService delegate,
String executorServiceName,
Iterable<Tag> tags) |
TimedScheduledExecutorService(MeterRegistry registry,
ScheduledExecutorService delegate,
String executorServiceName,
Iterable<Tag> tags) |
| Modifier and Type | Method and Description |
|---|---|
Search |
Search.tags(Iterable<Tag> tags)
Meter contains a tag with the matching tag keys and values.
|
RequiredSearch |
RequiredSearch.tags(Iterable<Tag> tags)
Meter contains a tag with the matching tag keys and values.
|
Copyright © 2020 LeanCloud. All rights reserved.