You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| controller.config.monitoring.postgres.queries.pg_stat_statements.query | string |`"SELECT userid, pgss.dbid, pgdb.datname, queryid, query, calls, total_time, mean_time, rows FROM pg_stat_statements pgss LEFT JOIN (select oid as dbid, datname from pg_database) as pgdb on pgdb.dbid = pgss.dbid WHERE not queryid isnull ORDER BY mean_time desc limit 20"`||
| controller.config.monitoring.postgres.queries.pg_stat_statements.metrics[6].total_time.description | string |`"Total time spent in the statement, in milliseconds"`||
| controller.config.monitoring.postgres.queries.pg_stat_statements.metrics[7].mean_time.description | string |`"Mean time spent in the statement, in milliseconds"`||
| controller.config.monitoring.postgres.queries.pg_stat_statements.metrics[8].rows.description | string |`"Total number of rows retrieved or affected by the statement"`||
query: "SELECT userid, pgss.dbid, pgdb.datname, queryid, query, calls, total_time, mean_time, rows FROM pg_stat_statements pgss LEFT JOIN (select oid as dbid, datname from pg_database) as pgdb on pgdb.dbid = pgss.dbid WHERE not queryid isnull ORDER BY mean_time desc limit 20"
71
-
metrics:
72
-
- userid:
73
-
usage: "LABEL"
74
-
description: "User ID"
75
-
- dbid:
76
-
usage: "LABEL"
77
-
description: "database ID"
78
-
- datname:
79
-
usage: "LABEL"
80
-
description: "database NAME"
81
-
- queryid:
82
-
usage: "LABEL"
83
-
description: "Query unique Hash Code"
84
-
- query:
85
-
usage: "LABEL"
86
-
description: "Query class"
87
-
- calls:
88
-
usage: "COUNTER"
89
-
description: "Number of times executed"
90
-
- total_time:
91
-
usage: "COUNTER"
92
-
description: "Total time spent in the statement, in milliseconds"
93
-
- mean_time:
94
-
usage: "GAUGE"
95
-
description: "Mean time spent in the statement, in milliseconds"
96
-
- rows:
97
-
usage: "COUNTER"
98
-
description: "Total number of rows retrieved or affected by the statement"
47
+
args:
48
+
reconcileInterval: "60"
49
+
# watchNamespace value is comma-separated list of namespace names. It's necessary to set "" to watch cluster wide.
50
+
watchNamespace: ""
51
+
checkForChanges: false
52
+
serviceMonitor:
53
+
enabled: false
99
54
100
55
webhook:
101
56
enabled: true
@@ -159,25 +114,7 @@ annotations: {}
159
114
podLabels: {}
160
115
affinity: {}
161
116
tolerations: []
162
-
# interval: 10s
163
-
# scrapeTimeout: 10s
164
-
# jobLabel: db-operator
165
-
# selector:
166
-
# prometheus: my-prometheus
167
-
# ## metric relabel configs to apply to samples before ingestion.
0 commit comments