pgBackRest Metrics Exporter Configuration
The pgBackRest Metrics Exporter exposes metrics related to backup and restore processes, such as backup duration, amount of data processed, success or failure of operations, among others. Monitoring these metrics is essential to ensure the integrity of backups and readiness for restorations in case of failure or data loss.
Through this configuration option, it is possible to specify the exposure port for pgBackRest metrics to be collected by Prometheus.
-
Observability components installed.
pgsmart obs exporter config [FLAGS]
Flags
-a, --agent=<agent>
=> Alias, hostname, or IP of the server where the desired PgSmart Agent is installed.-h, --help
=> Help
Non-interactive execution is disabled for this operation.
pgsmart obs exporter config
pgBackRest Exporter Configuration
- Instructions
- Video
-
Select the PgSmart Agent or register a new one.
-
Select the pgBackRest Metrics Exporter.
-
Provide the metrics exposure port and web interface.
Figure 1 - pgBackRest Metrics Exporter ConfigurationnoteThe exported metrics can be viewed via the console:
Terminal inputcurl http://192.168.56.235:9100/metrics
Or via the web interface:
Terminal inputhttp://192.168.56.235:9100/metrics