Movatterモバイル変換


[0]ホーム

URL:


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

Commit967bd50

Browse files
Fixed stats_reset_query in reporter
1 parentcba87df commit967bd50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎reporter/postgres_reports.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def generate_h002_unused_indexes_report(self, cluster: str = "local", node_name:
318318
unused_indexes_by_db= {}
319319
fordb_nameindatabases:
320320
# Query stats_reset timestamp for this database
321-
stats_reset_query=f'last_over_time(pgwatch_stats_reset_stats_reset_epoch{{cluster="{cluster}", node_name="{node_name}",database_name="{db_name}"}}[10h])'
321+
stats_reset_query=f'last_over_time(pgwatch_stats_reset_stats_reset_epoch{{cluster="{cluster}", node_name="{node_name}",dbname="{db_name}"}}[10h])'
322322
stats_reset_result=self.query_instant(stats_reset_query)
323323

324324
stats_reset_epoch=None

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp