Package | Description |
---|---|
io.micrometer.core.aop | |
io.micrometer.core.instrument |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.binder.cache |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.binder.db | |
io.micrometer.core.instrument.binder.jetty | |
io.micrometer.core.instrument.binder.jpa | |
io.micrometer.core.instrument.binder.jvm | |
io.micrometer.core.instrument.binder.kafka | |
io.micrometer.core.instrument.binder.logging | |
io.micrometer.core.instrument.binder.okhttp3 | |
io.micrometer.core.instrument.binder.system | |
io.micrometer.core.instrument.binder.tomcat | |
io.micrometer.core.instrument.config |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.distribution |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.internal |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.search |
Copyright 2017 Pivotal Software, Inc.
|
Constructor and Description |
---|
TimedAspect(MeterRegistry registry,
Function<org.aspectj.lang.ProceedingJoinPoint,Iterable<Tag>> tagsBasedOnJoinPoint) |
Modifier and Type | Class and Description |
---|---|
class |
ImmutableTag |
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 specific 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 specific 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 my concatenating the specified values. |
static Tags |
Tags.concat(Iterable<? extends Tag> tags,
Iterable<Tag> otherTags)
Return a new
Tags instance my concatenating the specified values. |
static Tags |
Tags.concat(Iterable<? extends Tag> tags,
String... keyValues)
Return a new
Tags instance my concatenating the specified key value pairs. |
Counter |
MeterRegistry.counter(String name,
Iterable<Tag> tags)
Tracks a monotonically increasing value.
|
static Counter |
Metrics.counter(String name,
Iterable<Tag> tags)
Tracks a monotonically increasing value.
|
<T extends Number> |
MeterRegistry.More.counter(String name,
Iterable<Tag> tags,
T number)
Tracks a number, maintaining a weak reference on it.
|
<T extends Number> |
Metrics.More.counter(String name,
Iterable<Tag> tags,
T number)
Tracks a number, maintaining a weak reference on it.
|
<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.
|
<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 extends Number> |
MeterRegistry.gauge(String name,
Iterable<Tag> tags,
T number)
Register a gauge that reports the value of the
Number . |
static <T extends Number> |
Metrics.gauge(String name,
Iterable<Tag> tags,
T number)
Register a gauge that reports the value of the
Number . |
<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> 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 extends Collection<?>> |
MeterRegistry.gaugeCollectionSize(String name,
Iterable<Tag> tags,
T collection)
Register a gauge that reports the size of the
Collection . |
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 Map<?,?>> |
MeterRegistry.gaugeMapSize(String name,
Iterable<Tag> tags,
T map)
Register a gauge that reports the size of the
Map . |
static <T extends Map<?,?>> |
Metrics.gaugeMapSize(String name,
Iterable<Tag> tags,
T map)
Register a gauge that reports the size of the
Map . |
LongTaskTimer |
MeterRegistry.More.longTaskTimer(String name,
Iterable<Tag> tags)
Measures the time taken for long tasks.
|
LongTaskTimer |
Metrics.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.
|
DistributionSummary |
MeterRegistry.summary(String name,
Iterable<Tag> tags)
Measures the distribution of samples.
|
static DistributionSummary |
Metrics.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 |
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.
|
<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.
|
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,
Iterable<Tag> tags)
Measures the time taken for short tasks and the count of these tasks.
|
<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.
|
<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.
|
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 com.hazelcast.core.IMap<K,V>> |
HazelcastCacheMetrics.monitor(MeterRegistry registry,
C cache,
Iterable<Tag> tags)
Record metrics on a Hazelcast cache.
|
static <K,V,C extends javax.cache.Cache<K,V>> |
JCacheMetrics.monitor(MeterRegistry registry,
C cache,
Iterable<Tag> tags)
Record metrics on a JCache cache.
|
static <C extends com.github.benmanes.caffeine.cache.AsyncLoadingCache> |
CaffeineCacheMetrics.monitor(MeterRegistry registry,
C cache,
String cacheName,
Iterable<Tag> tags)
Record metrics on a Caffeine cache.
|
static <C extends com.github.benmanes.caffeine.cache.Cache> |
CaffeineCacheMetrics.monitor(MeterRegistry registry,
C cache,
String cacheName,
Iterable<Tag> tags)
Record metrics on a Caffeine cache.
|
static <C extends com.google.common.cache.Cache> |
GuavaCacheMetrics.monitor(MeterRegistry registry,
C cache,
String cacheName,
Iterable<Tag> tags)
Record metrics on a Guava cache.
|
static net.sf.ehcache.Ehcache |
EhCache2Metrics.monitor(MeterRegistry registry,
net.sf.ehcache.Ehcache cache,
Iterable<Tag> tags)
Record metrics on an EhCache cache.
|
Constructor and Description |
---|
CacheMeterBinder(Object cache,
String cacheName,
Iterable<Tag> tags) |
CaffeineCacheMetrics(com.github.benmanes.caffeine.cache.Cache<?,?> cache,
String cacheName,
Iterable<Tag> tags)
Creates a new
CaffeineCacheMetrics instance. |
EhCache2Metrics(net.sf.ehcache.Ehcache cache,
Iterable<Tag> tags) |
GuavaCacheMetrics(com.google.common.cache.Cache<?,?> cache,
String cacheName,
Iterable<Tag> tags) |
HazelcastCacheMetrics(C cache,
Iterable<Tag> tags) |
JCacheMetrics(javax.cache.Cache<?,?> 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 |
---|---|
static void |
JettyStatisticsMetrics.monitor(MeterRegistry meterRegistry,
org.eclipse.jetty.server.handler.StatisticsHandler statisticsHandler,
Iterable<Tag> tags) |
Constructor and Description |
---|
InstrumentedQueuedThreadPool(MeterRegistry registry,
Iterable<Tag> tags) |
JettyServerThreadPoolMetrics(org.eclipse.jetty.util.thread.ThreadPool threadPool,
Iterable<Tag> tags) |
JettyStatisticsMetrics(org.eclipse.jetty.server.handler.StatisticsHandler statisticsHandler,
Iterable<Tag> tags) |
Modifier and Type | Method and Description |
---|---|
static void |
HibernateMetrics.monitor(MeterRegistry registry,
javax.persistence.EntityManagerFactory entityManagerFactory,
String entityManagerFactoryName,
Iterable<Tag> tags) |
Constructor and Description |
---|
HibernateMetrics(javax.persistence.EntityManagerFactory entityManagerFactory,
String entityManagerFactoryName,
Iterable<Tag> tags) |
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 . |
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 . |
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,
org.apache.logging.log4j.core.LoggerContext loggerContext) |
LogbackMetrics(Iterable<Tag> tags) |
LogbackMetrics(Iterable<Tag> tags,
ch.qos.logback.classic.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,
org.apache.catalina.Manager manager,
Iterable<Tag> tags) |
Constructor and Description |
---|
TomcatMetrics(org.apache.catalina.Manager manager,
Iterable<Tag> tags) |
TomcatMetrics(org.apache.catalina.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) |
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 © 2018. All rights reserved.