We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27dfb89 commit 7891edcCopy full SHA for 7891edc
config/pgwatch-prometheus/metrics.yml
@@ -370,6 +370,8 @@ metrics:
370
(extract(epoch from now()) * 1e9)::int8 as epoch_ns,
371
current_database() as tag_datname,
372
name as tag_setting_name,
373
+ -- Use reset_val for lock_timeout because pgwatch sets it to 100ms during collection,
374
+ -- which would mask the actual configured value. reset_val shows the true server config.
375
case when name = 'lock_timeout' then reset_val else setting end as tag_setting_value,
376
unit as tag_unit,
377
category as tag_category,
0 commit comments