Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c2566d5

Browse files
SticksmanSuperQ
andauthoredJun 28, 2023
Update collector/pg_stat_user_indexes.go
Co-authored-by: Ben Kochie <[email protected]> Signed-off-by: Felix Yuan <[email protected]>
1 parent be0b441 commit c2566d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎collector/pg_stat_user_indexes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func NewPGStatUserIndexesCollector(config collectorConfig) (Collector, error) {
3636

3737
var (
3838
statUserIndexesIdxScan = prometheus.NewDesc(
39-
prometheus.BuildFQName(namespace, statUserIndexesSubsystem, "idx_scan"),
39+
prometheus.BuildFQName(namespace, statUserIndexesSubsystem, "idx_scans_total"),
4040
"Number of index scans initiated on this index",
4141
[]string{"schemaname", "relname", "indexrelname"},
4242
prometheus.Labels{},

0 commit comments

Comments
 (0)
Please sign in to comment.