The Postgres Pool to use for checking the connectivity. The connectivity test will be done at the point of metric collection.
The Postgres Pool to check connectivity for.
The maximum time the connectivity check will run during metric collection. Defaults to 10000ms
.
A Gauge
metric with a name ax_postgres_<pgPoolType>_connectivity
.
Generated using TypeDoc
Creates a
Gauge
metric with the nameax_postgres_<pgPoolType>_connectivity
which can be added to a metric Registry. This metric will have a value of1
if the Database can be reached via the corresponding Pool (within the given timeout), or a value of0
otherwise.