public class DataSourcePoolMetrics extends Object implements io.micrometer.core.instrument.binder.MeterBinder
MeterBinder
for a DataSource
.Constructor and Description |
---|
DataSourcePoolMetrics(DataSource dataSource,
Collection<DataSourcePoolMetadataProvider> metadataProviders,
String dataSourceName,
Iterable<io.micrometer.core.instrument.Tag> tags) |
DataSourcePoolMetrics(DataSource dataSource,
DataSourcePoolMetadataProvider metadataProvider,
String name,
Iterable<io.micrometer.core.instrument.Tag> tags) |
Modifier and Type | Method and Description |
---|---|
void |
bindTo(io.micrometer.core.instrument.MeterRegistry registry) |
public DataSourcePoolMetrics(DataSource dataSource, Collection<DataSourcePoolMetadataProvider> metadataProviders, String dataSourceName, Iterable<io.micrometer.core.instrument.Tag> tags)
public DataSourcePoolMetrics(DataSource dataSource, DataSourcePoolMetadataProvider metadataProvider, String name, Iterable<io.micrometer.core.instrument.Tag> tags)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.