Skip to content

Commit a0438a3

Browse files
committed
fix: fixed Connections graph type (switched to stacked)
1 parent 1bd3e46 commit a0438a3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mamonsu/plugins/pgsql/connections.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,6 @@ def graphs(self, template, dashboard=False):
193193
"color": "0082A5",
194194
"drawtype": 2
195195
})
196-
items.append({
197-
"key": self.right_type(self.key, "max_connections"),
198-
"color": "FF3C47",
199-
"drawtype": 2
200-
})
201196

202197
if Pooler.server_version_greater("10.0"):
203198
items.append({
@@ -208,6 +203,7 @@ def graphs(self, template, dashboard=False):
208203

209204
graph = {
210205
"name": self.graph_name,
206+
"type": 1,
211207
"items": items
212208
}
213209

0 commit comments

Comments
 (0)