@@ -142,36 +142,36 @@ def discovery_rules(self, template, dashboard=False):
142
142
}]
143
143
items = [
144
144
{"key" : self .right_type (self .key_send , var_discovery = "{#APPLICATION_NAME}," ),
145
- "name" : "PostgreSQL Replication: Send Lag - Time elapsed sending recent WAL locally on {#APPLICATION_NAME} " ,
145
+ "name" : "PostgreSQL Replication: {#APPLICATION_NAME} Send Lag - Time elapsed sending recent WAL locally" ,
146
146
"value_type" : Plugin .VALUE_TYPE .numeric_float ,
147
147
"delay" : self .plugin_config ("interval" ),
148
148
"drawtype" : 2 },
149
149
{"key" : self .right_type (self .key_receive , var_discovery = "{#APPLICATION_NAME}," ),
150
- "name" : "PostgreSQL Replication: Receive Lag - Time elapsed between receiving recent WAL locally and receiving notification that "
151
- "this standby server {#APPLICATION_NAME} has flushed it" ,
150
+ "name" : "PostgreSQL Replication: {#APPLICATION_NAME} Receive Lag - Time elapsed between receiving recent WAL locally and receiving notification that "
151
+ "this standby server has flushed it" ,
152
152
"value_type" : Plugin .VALUE_TYPE .numeric_float ,
153
153
"delay" : self .plugin_config ("interval" ),
154
154
"drawtype" : 2 },
155
155
{"key" : self .right_type (self .key_write , var_discovery = "{#APPLICATION_NAME}," ),
156
- "name" : "PostgreSQL Replication: Write Lag - Time elapsed between flushing recent WAL locally and receiving notification that "
157
- "this standby server {#APPLICATION_NAME} has written it" ,
156
+ "name" : "PostgreSQL Replication: {#APPLICATION_NAME} Write Lag - Time elapsed between flushing recent WAL locally and receiving notification that "
157
+ "this standby server has written it" ,
158
158
"value_type" : Plugin .VALUE_TYPE .numeric_float ,
159
159
"delay" : self .plugin_config ("interval" ),
160
160
"drawtype" : 2 },
161
161
{"key" : self .right_type (self .key_flush , var_discovery = "{#APPLICATION_NAME}," ),
162
- "name" : "PostgreSQL Replication: Flush Lag - Time elapsed between flushing recent WAL locally and receiving notification that "
163
- "this standby server {#APPLICATION_NAME} has written and flushed it" ,
162
+ "name" : "PostgreSQL Replication: {#APPLICATION_NAME} Flush Lag - Time elapsed between flushing recent WAL locally and receiving notification that "
163
+ "this standby server has written and flushed it" ,
164
164
"value_type" : Plugin .VALUE_TYPE .numeric_float ,
165
165
"delay" : self .plugin_config ("interval" ),
166
166
"drawtype" : 2 },
167
167
{"key" : self .right_type (self .key_replay , var_discovery = "{#APPLICATION_NAME}," ),
168
- "name" : "PostgreSQL Replication: Replay Lag - Time elapsed between flushing recent WAL locally and receiving notification that "
169
- "this standby server {#APPLICATION_NAME} has written, flushed and applied" ,
168
+ "name" : "PostgreSQL Replication: {#APPLICATION_NAME} Replay Lag - Time elapsed between flushing recent WAL locally and receiving notification that "
169
+ "this standby server has written, flushed and applied" ,
170
170
"value_type" : Plugin .VALUE_TYPE .numeric_float ,
171
171
"delay" : self .plugin_config ("interval" ),
172
172
"drawtype" : 2 },
173
173
{"key" : self .right_type (self .key_total_lag , var_discovery = "{#APPLICATION_NAME}," ),
174
- "name" : "PostgreSQL Replication: Delta of Total Lag for {#APPLICATION_NAME} " ,
174
+ "name" : "PostgreSQL Replication: {#APPLICATION_NAME} Delta of Total Lag" ,
175
175
"value_type" : Plugin .VALUE_TYPE .numeric_float ,
176
176
"delay" : self .plugin_config ("interval" ),
177
177
"drawtype" : 2 }
0 commit comments