Commit 26478e4e authored by Owais Razi Uddin's avatar Owais Razi Uddin

updating elk dashboard

parent 661b92b6
Pipeline #4385 passed with stages
in 4 seconds
...@@ -38,7 +38,14 @@ grafana.dashboard.new( ...@@ -38,7 +38,14 @@ grafana.dashboard.new(
singlestat.new( singlestat.new(
'Running Nodes', 'Running Nodes',
span=4, span=4,
valueName='current' valueName='current',
colors=[
'#40e3ad',
'rgba(237, 129, 40, 0.89)',
'#d44a3a',
],
colorBackground='#40e3ad',
thresholds='10,90'
) )
.addTarget( .addTarget(
prometheus.target( prometheus.target(
...@@ -58,7 +65,7 @@ grafana.dashboard.new( ...@@ -58,7 +65,7 @@ grafana.dashboard.new(
'#d44a3a', '#d44a3a',
], ],
colorBackground='#40e3ad', colorBackground='#40e3ad',
thresholds="10,90" thresholds='10,90'
) )
.addTarget( .addTarget(
prometheus.target( prometheus.target(
...@@ -78,7 +85,7 @@ grafana.dashboard.new( ...@@ -78,7 +85,7 @@ grafana.dashboard.new(
'#d44a3a', '#d44a3a',
], ],
colorBackground='#40e3ad', colorBackground='#40e3ad',
thresholds="10,90" thresholds='10,90'
) )
.addTarget( .addTarget(
prometheus.target( prometheus.target(
...@@ -104,7 +111,7 @@ grafana.dashboard.new( ...@@ -104,7 +111,7 @@ grafana.dashboard.new(
'#d44a3a', '#d44a3a',
], ],
colorBackground='#FF0000', colorBackground='#FF0000',
thresholds="10,90", thresholds='10,90',
) )
.addTarget( .addTarget(
prometheus.target( prometheus.target(
...@@ -124,7 +131,7 @@ grafana.dashboard.new( ...@@ -124,7 +131,7 @@ grafana.dashboard.new(
'#d44a3a', '#d44a3a',
], ],
colorBackground='#FF0000', colorBackground='#FF0000',
thresholds="10,90", thresholds='10,90',
) )
.addTarget( .addTarget(
prometheus.target( prometheus.target(
...@@ -144,7 +151,7 @@ grafana.dashboard.new( ...@@ -144,7 +151,7 @@ grafana.dashboard.new(
'#d44a3a', '#d44a3a',
], ],
colorBackground='#FF0000', colorBackground='#FF0000',
thresholds="10,90" thresholds='10,90'
) )
.addTarget( .addTarget(
prometheus.target( prometheus.target(
...@@ -205,7 +212,7 @@ grafana.dashboard.new( ...@@ -205,7 +212,7 @@ grafana.dashboard.new(
datasource='$server', datasource='$server',
) )
), ),
gridPos = { h: 9, w: 12, x: 0, y: 18} gridPos={ h: 9, w: 12, x: 0, y: 18 }
) )
.addPanel( .addPanel(
graphPanel.new( graphPanel.new(
...@@ -256,7 +263,7 @@ grafana.dashboard.new( ...@@ -256,7 +263,7 @@ grafana.dashboard.new(
) )
) )
) )
) )
.addRequired('grafana', 'grafana', 'Grafana', '5.0.0') .addRequired('grafana', 'grafana', 'Grafana', '5.0.0')
.addRequired('panel', 'graph', 'Graph', '5.0.0') .addRequired('panel', 'graph', 'Graph', '5.0.0')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment