Skip to content

Add a collector for pending restarts#1275

Open
mpldr wants to merge 1 commit intoprometheus-community:masterfrom
mpldr-pulls:pending_restart
Open

Add a collector for pending restarts#1275
mpldr wants to merge 1 commit intoprometheus-community:masterfrom
mpldr-pulls:pending_restart

Conversation

@mpldr
Copy link
Copy Markdown

@mpldr mpldr commented Mar 23, 2026

Produces something along the lines of:

# HELP pg_catalog_pending_restart_info PostgreSQL configuration parameters that are pending a server restart to take effect.
# TYPE pg_catalog_pending_restart_info gauge
pg_catalog_pending_restart_info{pending_value="300",setting="max_connections"} 1

To test:

ALTER SYSTEM SET max_connections = '200'; SELECT pg_reload_conf();

Signed-off-by: Moritz Poldrack <m.poldrack@babiel.com>
@MarcWort
Copy link
Copy Markdown
Contributor

Hi, I just saw this PR, and it is exactly what I need, thank you for creating this @mpldr.

Is there anything blocking this from being reviewed or merged? I’d be happy to help test or make updates if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants