Skip to content

Commit 2866eef

Browse files
committed
better metric name
1 parent f18bb0f commit 2866eef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

collector/pg_shared_preload_libraries.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"github.com/prometheus/client_golang/prometheus"
2323
)
2424

25-
const sharedPreloadLibrariesSubsystem = "shared_preload_libraries"
25+
const sharedPreloadLibrariesSubsystem = "settings"
2626

2727
func init() {
2828
registerCollector(sharedPreloadLibrariesSubsystem, defaultEnabled, NewPGSharedPreloadLibrariesCollector)
@@ -39,7 +39,7 @@ var (
3939
prometheus.BuildFQName(
4040
namespace,
4141
sharedPreloadLibrariesSubsystem,
42-
"library_enabled",
42+
"shared_preload_library_enabled",
4343
),
4444
"Whether a library is listed in shared_preload_libraries (1=yes).",
4545
[]string{"library"}, nil,

0 commit comments

Comments
 (0)