Skip to main content

pgagroal manual · Reference · upstream 2.1.0

Console

From the upstream pgagroal manual, rendered in the Elevarq documentation style. Single-sourced from the pinned pgagroal release.

\newpage

The pgagroal web console is a lightweight HTTP UI for monitoring PostgreSQL connection pooler metrics in real time. It displays metrics organized by category, with filtering options and multiple view modes to help you drill down into the data you need.

Enable the console

Add a console port to pgagroal.conf:

[pgagroal]
host = 127.0.0.1
metrics = 5002
console = 5003

The console requires the metrics endpoint to be enabled. Start pgagroal:

pgagroal -c /etc/pgagroal/pgagroal.conf -a /etc/pgagroal/pgagroal_hba.conf

Open the console

Navigate to your console endpoint:

http://localhost:5003/

Console flow & pages

1. Home page (overview)

When you first load the console, you see the home page with:

2. Home page—simple view

The default simple view shows:

Web console home page in simple view

3. Home page—advanced view

Toggle to advanced view to see:

Web console home page in advanced view

4. Category organization

Metrics are automatically organized into categories based on shared prefixes:

Use the Category selector to switch between categories. The page displays all metrics in the selected category.

5. Server filter

The Server filter dropdown:

Web console home page server filter

6. Refresh button

Click Refresh in the header (next to the Updated timestamp) to reload all metrics and service status.

API endpoints

Theme toggle

Click the theme button (moon/sun icon) in the top right to switch between:

Theme preference is saved in your browser's local storage.

Service status values

The header shows:

Troubleshooting