Remove block time chart.
Facetoe committed
Oct 5, 2016 at 20:27 UTC
d9d00ace4820c917acfaaeedea714f78003ec01e
1 file changed
+2
-8
python.d/postgres.chart.py
+2
-8
@@ -40,12 +40,6 @@ CHARTS = {
40
["blks_read", "blks_read", "incremental", 1, 1],
41
["blks_hit", "blks_hit", "incremental", 1, 1],
42
]},
43
- "BlockTime": {
44
- 'options': ["block_time", "block_time", "milliseconds ", "block_time", "postgres.block_time", "line"],
45
- 'lines': [
46
- ["blk_read_time", "blk_read_time", "incremental", 1, 1],
47
- ["blk_write_time", "blk_write_time", "incremental", 1, 1],
48
- ]},
43
"Checkpoints": {
44
'options': ["checkpoints", "Checkpoints", "Checkpoints", "checkpoints", "postgres.checkpoints", "line"],
45
'lines': [
@@ -59,7 +53,7 @@ CHARTS = {
53
["buffers_allocated", "buffers_allocated", "incremental", 1, 1],
54
]},
55
}
62
-ORDER = ["Tuples", "Transactions", "BlockAccess", "BlockTime", "Checkpoints", "Buffers"]
56
+ORDER = ["Tuples", "Transactions", "BlockAccess", "Checkpoints", "Buffers"]
57
58
59
class Service(SimpleService):
@@ -74,7 +68,7 @@ class Service(SimpleService):
68
params = dict(user='postgres',
69
database='postgres',
70
password=None,
77
- host='localhost',
71
+ host=None,
72
port=5432)
73
params.update(self.configuration)
74
if self.connection is None: