Skip to main content
Version 4.0.0

PgBouncer Metrics Exporter Management

Below are the available commands to control the PgBouncer Metrics Exporter service.

Prerequisites
Command Syntax
Terminal input
    pgsmart obs exporter [OPERATIONS] [FLAGS]

Operations:

  • Status — Allows checking the PgBouncer Metrics Exporter service status
  • Start — Allows starting the PgBouncer Metrics Exporter service
  • Stop — Allows stopping the PgBouncer Metrics Exporter service
  • Restart — Allows restarting the PgBouncer Metrics Exporter service
  • Reload — Allows reloading the PgBouncer Metrics Exporter service

Flags:

  • -a, --agent=<agent> => Alias, hostname, or IP address of the server where the desired PgSmart Agent is installed.
  • -h, --help => Help
Interactive Execution

PgBouncer Metrics Exporter Service Status

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

  2. Select the PgBouncer Metrics Exporter.

    Figure 1 - Metrics Exporter - PgBouncer - Status
    Figure 1 - Metrics Exporter - PgBouncer - Status

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

    Figure 2 - Metrics Exporter - PgBouncer - Start
    Figure 2 - Metrics Exporter - PgBouncer - Start

Stop 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.
Figure 3 - Metrics Exporter - PgBouncer - Stop
Figure 3 - Metrics Exporter - PgBouncer - Stop

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

    Figure 4 - Metrics Exporter - PgBouncer - Restart
    Figure 4 - Metrics Exporter - PgBouncer - Restart

Reload PgBouncer Metrics Exporter Service

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

  2. Select the PgBouncer Metrics Exporter.

    Figure 5 - Metrics Exporter - PgBouncer - Reload
    Figure 5 - Metrics Exporter - PgBouncer - Reload