Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9ce385d

Browse files
Merge branch 'bogdan.tsechoev-main-patch-68975' into 'main'
fix(metrics): switch index_pilot exporter to index_latest_state See merge request postgres-ai/postgres_ai!50
2 parents c60f55d + 588f82d commit 9ce385d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎config/pgwatch-prometheus/metrics.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1946,8 +1946,6 @@ metrics:
19461946
11: |
19471947
select
19481948
(extract(epoch from now()) * 1e9)::int8 as epoch_ns,
1949-
current_database() as tag_datname,
1950-
database_name as tag_database_name,
19511949
datname as tag_datname,
19521950
schemaname as tag_schemaname,
19531951
relname as tag_relname,
@@ -1956,7 +1954,7 @@ metrics:
19561954
indisvalid::int as is_valid,
19571955
estimated_tuples,
19581956
best_ratio
1959-
from index_pilot.index_current_state
1957+
from index_pilot.index_latest_state
19601958
order by indexsize desc
19611959
limit 2000;
19621960
gauges:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /