Skip to content

Commit a87a365

Browse files
committed
fix: edited Replication metrics names
1 parent 8315dc9 commit a87a365

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mamonsu/plugins/pgsql/wal.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,30 +253,30 @@ def discovery_rules(self, template, dashboard=False):
253253
}]
254254
items = [
255255
{"key": self.right_type(self.key_send, var_discovery="{#APPLICATION_NAME},"),
256-
"name": "Time elapsed sending recent WAL locally on {#APPLICATION_NAME}",
256+
"name": "PostgreSQL WAL Send Lag: Time elapsed sending recent WAL locally on {#APPLICATION_NAME}",
257257
"value_type": Plugin.VALUE_TYPE.numeric_float,
258258
"delay": self.plugin_config("interval"),
259259
"drawtype": 2},
260260
{"key": self.right_type(self.key_receive, var_discovery="{#APPLICATION_NAME},"),
261-
"name": "Time elapsed between receiving recent WAL locally and receiving notification that "
261+
"name": "PostgreSQL WAL Receive Lag: Time elapsed between receiving recent WAL locally and receiving notification that "
262262
"this standby server {#APPLICATION_NAME} has flushed it",
263263
"value_type": Plugin.VALUE_TYPE.numeric_float,
264264
"delay": self.plugin_config("interval"),
265265
"drawtype": 2},
266266
{"key": self.right_type(self.key_write, var_discovery="{#APPLICATION_NAME},"),
267-
"name": "Time elapsed between flushing recent WAL locally and receiving notification that "
267+
"name": "PostgreSQL WAL Write Lag: Time elapsed between flushing recent WAL locally and receiving notification that "
268268
"this standby server {#APPLICATION_NAME} has written it",
269269
"value_type": Plugin.VALUE_TYPE.numeric_float,
270270
"delay": self.plugin_config("interval"),
271271
"drawtype": 2},
272272
{"key": self.right_type(self.key_flush, var_discovery="{#APPLICATION_NAME},"),
273-
"name": "Time elapsed between flushing recent WAL locally and receiving notification that "
273+
"name": "PostgreSQL WAL Flush Lag: Time elapsed between flushing recent WAL locally and receiving notification that "
274274
"this standby server {#APPLICATION_NAME} has written and flushed it",
275275
"value_type": Plugin.VALUE_TYPE.numeric_float,
276276
"delay": self.plugin_config("interval"),
277277
"drawtype": 2},
278278
{"key": self.right_type(self.key_replay, var_discovery="{#APPLICATION_NAME},"),
279-
"name": "Time elapsed between flushing recent WAL locally and receiving notification that "
279+
"name": "PostgreSQL WAL Replay Lag: Time elapsed between flushing recent WAL locally and receiving notification that "
280280
"this standby server {#APPLICATION_NAME} has written, flushed and applied",
281281
"value_type": Plugin.VALUE_TYPE.numeric_float,
282282
"delay": self.plugin_config("interval"),

0 commit comments

Comments
 (0)