Skip to main content
Version Next

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
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

  1. Select the PgSmart Agent or Register a new one.

  2. Select the Exportador de Métricas pgBackRest option.

  3. Enter the metrics exposure port and web interface.

    Figure 1 - pgBackRest Metrics Exporter Configuration
    Figure 1 - pgBackRest Metrics Exporter Configuration
    note

    Exported metrics can be viewed via console:

    Terminal input
        curl http://192.168.56.235:9100/metrics

    Or via web interface:

    http://192.168.56.235:9100/metrics