Skip to content

Add a collector for pending restarts#1275

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

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

Conversation

@mpldr

@mpldr mpldr commented Mar 23, 2026

Copy link
Copy Markdown

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.

@MarcWort

MarcWort commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@SuperQ Could you please take a look at this? It would be much easier if it was merged, rather than me having to maintain a local patch and build for my systems.

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