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 Details

    • PostgreSQLDatabaseMetrics

      public PostgreSQLDatabaseMetrics(DataSource postgresDataSource, String database)
    • PostgreSQLDatabaseMetrics

      public PostgreSQLDatabaseMetrics(DataSource postgresDataSource, String database, Iterable<Tag> tags)
  • Method Details