public class SpringMeters
extends java.lang.Object
| Constructor and Description |
|---|
SpringMeters() |
| Modifier and Type | Method and Description |
|---|---|
static javax.sql.DataSource |
monitor(io.micrometer.core.instrument.MeterRegistry registry,
javax.sql.DataSource dataSource,
java.util.Collection<org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvider> metadataProviders,
java.lang.String name,
java.lang.Iterable<io.micrometer.core.instrument.Tag> tags)
Record metrics on active connections and connection pool utilization.
|
static javax.sql.DataSource |
monitor(io.micrometer.core.instrument.MeterRegistry registry,
javax.sql.DataSource dataSource,
java.util.Collection<org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvider> metadataProviders,
java.lang.String name,
io.micrometer.core.instrument.Tag... tags)
Record metrics on active connections and connection pool utilization.
|
static org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor |
monitor(io.micrometer.core.instrument.MeterRegistry registry,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor executor,
java.lang.String name,
java.lang.Iterable<io.micrometer.core.instrument.Tag> tags)
Record metrics on the use of a
ThreadPoolTaskExecutor. |
static org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor |
monitor(io.micrometer.core.instrument.MeterRegistry registry,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor executor,
java.lang.String name,
io.micrometer.core.instrument.Tag... tags)
Record metrics on the use of a
ThreadPoolTaskExecutor. |
static org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler |
monitor(io.micrometer.core.instrument.MeterRegistry registry,
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler scheduler,
java.lang.String name,
java.lang.Iterable<io.micrometer.core.instrument.Tag> tags)
Record metrics on the use of a
ThreadPoolTaskExecutor. |
static org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler |
monitor(io.micrometer.core.instrument.MeterRegistry registry,
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler scheduler,
java.lang.String name,
io.micrometer.core.instrument.Tag... tags)
Record metrics on the use of a
ThreadPoolTaskExecutor. |
public static javax.sql.DataSource monitor(io.micrometer.core.instrument.MeterRegistry registry,
javax.sql.DataSource dataSource,
java.util.Collection<org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvider> metadataProviders,
java.lang.String name,
java.lang.Iterable<io.micrometer.core.instrument.Tag> tags)
registry - The registry to bind metrics to.dataSource - The data source to instrument.metadataProviders - A list of providers from which the instrumentation can look up information about pool usage.name - The name prefix of the metrics.tags - Tags to apply to all recorded metrics.public static javax.sql.DataSource monitor(io.micrometer.core.instrument.MeterRegistry registry,
javax.sql.DataSource dataSource,
java.util.Collection<org.springframework.boot.autoconfigure.jdbc.metadata.DataSourcePoolMetadataProvider> metadataProviders,
java.lang.String name,
io.micrometer.core.instrument.Tag... tags)
registry - The registry to bind metrics to.dataSource - The data source to instrument.metadataProviders - A list of providers from which the instrumentation can look up information about pool usage.name - The name prefix of the metricstags - Tags to apply to all recorded metrics.public static org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor monitor(io.micrometer.core.instrument.MeterRegistry registry,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor executor,
java.lang.String name,
java.lang.Iterable<io.micrometer.core.instrument.Tag> tags)
ThreadPoolTaskExecutor.registry - The registry to bind metrics to.executor - The task executor to instrument.name - The name prefix of the metrics.tags - Tags to apply to all recorded metrics.public static org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor monitor(io.micrometer.core.instrument.MeterRegistry registry,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor executor,
java.lang.String name,
io.micrometer.core.instrument.Tag... tags)
ThreadPoolTaskExecutor.registry - The registry to bind metrics to.executor - The executor to instrument.name - The name prefix of the metrics.tags - Tags to apply to all recorded metrics.public static org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler monitor(io.micrometer.core.instrument.MeterRegistry registry,
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler scheduler,
java.lang.String name,
java.lang.Iterable<io.micrometer.core.instrument.Tag> tags)
ThreadPoolTaskExecutor.registry - The registry to bind metrics to.scheduler - The task scheduler to instrument.name - The name prefix of the metrics.tags - Tags to apply to all recorded metrics.public static org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler monitor(io.micrometer.core.instrument.MeterRegistry registry,
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler scheduler,
java.lang.String name,
io.micrometer.core.instrument.Tag... tags)
ThreadPoolTaskExecutor.registry - The registry to bind metrics to.scheduler - The scheduler to instrument.name - The name prefix of the metrics.tags - Tags to apply to all recorded metrics.