Skip to main content
Version 3.1.0

PgBouncer Metrics Exporter Management

Check below for the commands available to control the PgBouncer Metrics Exporter service.

Prerequisites


Command Syntax
Terminal input
    pgsmart obs exporter [OPERATIONS] [FLAGS], as follows:

Operations:

  • Status of the PgBouncer Metrics Exporter service.
  • Start the PgBouncer Metrics Exporter service.
  • Stop the PgBouncer Metrics Exporter service.
  • Restart the PgBouncer Metrics Exporter service.

Flags:

  • -a, --agent=@!<agent>@! => Alias, hostname, or IP of the server where the desired PgSmart Agent is installed.
  • -h, --help => Help
  • -q, --quiet => Non-interactive execution to control the component service (status|start|stop|restart|reload). Used together with the --agent option.
Non-Interactive Execution
Terminal input
    pgsmart obs exporter [status|start|stop|restart|reload] -q -a @!&lt;agent&gt;@!
Interactive Execution

Status of the PgBouncer Metrics Exporter Service

Terminal input
    pgsmart obs exporter status
  1. Select the PgSmart Agent or register a new one.

  2. Select the PgBouncer Metrics Exporter.

    Figura 1 - Exportador de Métricas - PgBouncer - Status
    Figura 1 - Exportador de Métricas - PgBouncer - Status

Start the PgBouncer Metrics Exporter Service

Terminal input
    pgsmart obs exporter start
  1. Select the PgSmart Agent or register a new one.

  2. Select the PgBouncer Metrics Exporter.

    Figura 2 - Exportador de Métricas - PgBouncer - Inicializa
    Figura 2 - Exportador de Métricas - PgBouncer - Inicializa

Stop the PgBouncer Metrics Exporter Service

Terminal input
    pgsmart  obs exporter  stop
  1. Select the PgSmart Agent or register a new one.

  2. Select the PgBouncer Metrics Exporter.

    Figura 3 - Exportador de Métricas - PgBouncer - Parada
    Figura 3 - Exportador de Métricas - PgBouncer - Parada

Restart the PgBouncer Metrics Exporter Service

Terminal input
    pgsmart obs exporter restart
  1. Select the PgSmart Agent or register a new one.

  2. Select the PgBouncer Metrics Exporter.

    Figura 4 - Exportador de Métricas - PgBouncer - Reinicializa
    Figura 4 - Exportador de Métricas - PgBouncer - Reinicializa

Reload the PgBouncer Metrics Exporter Service

Terminal input
    pgsmart obs exporter restart
  1. Select the PgSmart Agent or register a new one.

  2. Select the PgBouncer Metrics Exporter.

    Figura 5 - Exportador de Métricas - PgBouncer - Recarga
    Figura 5 - Exportador de Métricas - PgBouncer - Recarga