Class PostgreSQLDatabaseMetrics
java.lang.Object
io.micrometer.core.instrument.binder.db.PostgreSQLDatabaseMetrics
- All Implemented Interfaces:
MeterBinder
@NonNullApi
@NonNullFields
public class PostgreSQLDatabaseMetrics
extends Object
implements MeterBinder
MeterBinder
for a PostgreSQL database.- Since:
- 1.1.0
-
Constructor Summary
ConstructorDescriptionPostgreSQLDatabaseMetrics
(DataSource postgresDataSource, String database) PostgreSQLDatabaseMetrics
(DataSource postgresDataSource, String database, Iterable<Tag> tags) -
Method Summary
-
Constructor Details
-
PostgreSQLDatabaseMetrics
-
PostgreSQLDatabaseMetrics
public PostgreSQLDatabaseMetrics(DataSource postgresDataSource, String database, Iterable<Tag> tags)
-
-
Method Details
-
bindTo
- Specified by:
bindTo
in interfaceMeterBinder
-