Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DAACDemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Syed Bilal Raees
DAACDemo
Commits
8889773e
Commit
8889773e
authored
Apr 06, 2023
by
Owais Razi Uddin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating elastic search dashboards
parent
c1ae2b8f
Pipeline
#4060
failed with stages
in 6 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
3 deletions
+46
-3
elk.jsonnet
elk.jsonnet
+46
-3
No files found.
elk.jsonnet
View file @
8889773e
local
grafana
=
import
'grafonnet/grafana.libsonnet'
;
local
grafana
=
import
'grafonnet
-7.0
/grafana.libsonnet'
;
local
dashboard
=
grafana
.
dashboard
;
local
dashboard
=
grafana
.
dashboard
;
local
row
=
grafana
.
row
;
local
row
=
grafana
.
row
;
local
template
=
grafana
.
template
;
local
template
=
grafana
.
template
;
...
@@ -40,6 +40,14 @@ grafana.dashboard.new(
...
@@ -40,6 +40,14 @@ grafana.dashboard.new(
'Running Nodes'
,
'Running Nodes'
,
span
=
4
,
span
=
4
,
valueName
=
'current'
,
valueName
=
'current'
,
colors
=[
'#40e3ad'
,
'rgba(237, 129, 40, 0.89)'
,
'#d44a3a'
,
],
colorBackground
=
'#40e3ad'
,
colorValue
=
'#FF0000'
,
thresholds
=
"10,90"
)
)
.
addTarget
(
.
addTarget
(
prometheus
.
target
(
prometheus
.
target
(
...
@@ -53,6 +61,13 @@ grafana.dashboard.new(
...
@@ -53,6 +61,13 @@ grafana.dashboard.new(
'Active Data Nodes'
,
'Active Data 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
(
...
@@ -65,7 +80,14 @@ grafana.dashboard.new(
...
@@ -65,7 +80,14 @@ grafana.dashboard.new(
singlestat
.
new
(
singlestat
.
new
(
'Pending task'
,
'Pending task'
,
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
(
...
@@ -85,6 +107,13 @@ grafana.dashboard.new(
...
@@ -85,6 +107,13 @@ grafana.dashboard.new(
'Active Shards'
,
'Active Shards'
,
span
=
4
,
span
=
4
,
valueName
=
'current'
,
valueName
=
'current'
,
colors
=[
'#FF0000'
,
'rgba(237, 129, 40, 0.89)'
,
'#d44a3a'
,
],
colorBackground
=
'#FF0000'
,
thresholds
=
"10,90"
,
)
)
.
addTarget
(
.
addTarget
(
prometheus
.
target
(
prometheus
.
target
(
...
@@ -98,6 +127,13 @@ grafana.dashboard.new(
...
@@ -98,6 +127,13 @@ grafana.dashboard.new(
'Active Primary Shards'
,
'Active Primary Shards'
,
span
=
4
,
span
=
4
,
valueName
=
'current'
,
valueName
=
'current'
,
colors
=[
'#FF0000'
,
'rgba(237, 129, 40, 0.89)'
,
'#d44a3a'
,
],
colorBackground
=
'#FF0000'
,
thresholds
=
"10,90"
,
)
)
.
addTarget
(
.
addTarget
(
prometheus
.
target
(
prometheus
.
target
(
...
@@ -111,6 +147,13 @@ grafana.dashboard.new(
...
@@ -111,6 +147,13 @@ grafana.dashboard.new(
'Unassigned Shards'
,
'Unassigned Shards'
,
span
=
4
,
span
=
4
,
valueName
=
'current'
,
valueName
=
'current'
,
colors
=[
'#FF0000'
,
'rgba(237, 129, 40, 0.89)'
,
'#d44a3a'
,
],
colorBackground
=
'#FF0000'
,
thresholds
=
"10,90"
)
)
.
addTarget
(
.
addTarget
(
prometheus
.
target
(
prometheus
.
target
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment