pgBackRest Metrics Exporter Configuration
The pgBackRest Metrics Exporter exposes metrics related to backup and restore processes, such as backup duration, data volume processed, success or failure of operations, among others. Monitoring these metrics is essential to ensure backup integrity and readiness for recovery in the event of failure or data loss.
Through this configuration option, you can configure the port used to expose pgBackRest metrics for Prometheus collection.
Prerequisites
-
Observability components installed.
Command Syntax
Terminal input
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 Configuration
Non-interactive execution is disabled for this operation.
Interactive Configuration
Terminal input
pgsmart obs exporter config
pgBackRest Exporter Configuration
- Instructions
- Video
-
Select the
PgSmart Agent
or Register a new one. -
Select the
Exportador de Métricas pgBackRest
option. -
Enter the metrics exposure port and web interface.
Figure 1 - pgBackRest Metrics Exporter ConfigurationnoteExported metrics can be viewed via console:
Terminal inputcurl http://192.168.56.235:9100/metrics
Or via web interface:
Carregando...