We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da2bba0 commit 9df0a69Copy full SHA for 9df0a69
mamonsu/plugins/pgsql/xlog.py
@@ -99,5 +99,5 @@ def keys_and_queries(self, template_zabbix):
99
result.append('{0},$2 $1 -c "{1}"'.format(self.key_wall.format('[*]'), self.query_wal_lsn_diff))
100
# FIXME for lag
101
result.append(
102
- '{0},$2 $1 -c "{1}"'.format("pgsql.replication_lag.sec[*]", Pooler.SQL['replication_lag_slave_query']))
+ '{0},$2 $1 -c "{1}"'.format("pgsql.replication_lag.sec[*]", Pooler.SQL['replication_lag_slave_query'][0]))
103
return template_zabbix.key_and_query(result)
0 commit comments