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
77ee1210
Commit
77ee1210
authored
May 18, 2023
by
Owais Razi Uddin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating sprinboot dashboard
parent
26478e4e
Pipeline
#4434
passed with stages
in 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
109 additions
and
226 deletions
+109
-226
jvm_new.jsonnet
dashboards/jvm_new.jsonnet
+109
-226
No files found.
dashboards/jvm_new.jsonnet
View file @
77ee1210
...
@@ -13,23 +13,22 @@ local graphPanel = grafana.graphPanel;
...
@@ -13,23 +13,22 @@ local graphPanel = grafana.graphPanel;
local
template_cmn
=
import
'../common/datasource_common.libsonnet'
;
local
template_cmn
=
import
'../common/datasource_common.libsonnet'
;
local
steps
=
[
local
steps
=
[
{
color
:
'green'
,
value
:
0
,
op
:
'gt'
},
{
color
:
'green'
,
value
:
0
,
op
:
'gt'
},
{
color
:
'orange'
,
value
:
52428800
,
op
:
'gt'
},
{
color
:
'orange'
,
value
:
52428800
,
op
:
'gt'
},
{
color
:
'red'
,
value
:
419430400
,
op
:
'gt'
},
{
color
:
'red'
,
value
:
419430400
,
op
:
'gt'
},
];
];
local
steps_1
=
[
local
steps_1
=
[
{
color
:
'green'
,
value
:
0
,
op
:
'gt'
},
{
color
:
'green'
,
value
:
0
,
op
:
'gt'
},
{
color
:
'orange'
,
value
:
21474836480
,
op
:
'gt'
},
{
color
:
'orange'
,
value
:
21474836480
,
op
:
'gt'
},
{
color
:
'red'
,
value
:
42949672960
,
op
:
'gt'
},
{
color
:
'red'
,
value
:
42949672960
,
op
:
'gt'
},
];
];
local
steps_2
=
[
local
steps_2
=
[
{
color
:
'green'
,
value
:
10
,
text
:
'High'
},
{
color
:
'green'
,
value
:
10
,
text
:
'High'
},
{
color
:
'green'
,
value
:
20
,
text
:
'Low'
,
},
{
color
:
'green'
,
value
:
20
,
text
:
'Low'
},
];
];
grafana
.
dashboard
.
new
(
grafana
.
dashboard
.
new
(
'SpringBoot App Dashboard'
,
'SpringBoot App Dashboard'
,
...
@@ -41,7 +40,7 @@ grafana.dashboard.new(
...
@@ -41,7 +40,7 @@ grafana.dashboard.new(
)
)
.
addTemplate
(
.
addTemplate
(
template_cmn
.
dataSourceTemplate
template_cmn
.
dataSourceTemplate
)
)
.
addTemplate
(
.
addTemplate
(
template
.
new
(
template
.
new
(
'instance'
,
'instance'
,
...
@@ -94,7 +93,7 @@ grafana.dashboard.new(
...
@@ -94,7 +93,7 @@ grafana.dashboard.new(
datasource
=
'Prometheus'
,
datasource
=
'Prometheus'
,
)
)
),
),
gridPos
=
{
h
:
5
,
w
:
30
,
x
:
0
,
y
:
0
}
gridPos
={
h
:
5
,
w
:
30
,
x
:
0
,
y
:
0
}
).
addPanel
(
).
addPanel
(
graphPanel
.
new
(
graphPanel
.
new
(
'System Load'
,
'System Load'
,
...
@@ -118,13 +117,14 @@ grafana.dashboard.new(
...
@@ -118,13 +117,14 @@ grafana.dashboard.new(
datasource
=
'Prometheus'
,
datasource
=
'Prometheus'
,
)
)
),
),
gridPos
=
{
h
:
5
,
w
:
30
,
x
:
0
,
y
:
0
}
gridPos
={
h
:
5
,
w
:
30
,
x
:
0
,
y
:
0
}
)
)
).
addRow
(
).
addRow
(
row
.
new
(
row
.
new
(
'Thread Information'
,
'Thread Information'
,
).
addPanel
(
).
addPanel
(
grafana
.
statPanel
.
new
(
'Stat Panel representation of Jvm Threads state'
,
grafana
.
statPanel
.
new
(
'Stat Panel representation of Jvm Threads state'
,
datasource
=
'Prometheus'
,
datasource
=
'Prometheus'
,
allValues
=
false
,
allValues
=
false
,
colorMode
=
'background'
,
colorMode
=
'background'
,
...
@@ -140,7 +140,8 @@ grafana.dashboard.new(
...
@@ -140,7 +140,8 @@ grafana.dashboard.new(
),
),
gridPos
={
h
:
5
,
w
:
30
,
x
:
0
,
y
:
20
}
gridPos
={
h
:
5
,
w
:
30
,
x
:
0
,
y
:
20
}
).
addPanel
(
).
addPanel
(
grafana
.
statPanel
.
new
(
'JVM Memory Max Bytes'
,
grafana
.
statPanel
.
new
(
'JVM Memory Max Bytes'
,
datasource
=
'Prometheus'
,
datasource
=
'Prometheus'
,
allValues
=
false
,
allValues
=
false
,
colorMode
=
'background'
,
colorMode
=
'background'
,
...
@@ -156,7 +157,8 @@ grafana.dashboard.new(
...
@@ -156,7 +157,8 @@ grafana.dashboard.new(
),
),
gridPos
={
h
:
5
,
w
:
30
,
x
:
0
,
y
:
20
}
gridPos
={
h
:
5
,
w
:
30
,
x
:
0
,
y
:
20
}
).
addPanel
(
).
addPanel
(
grafana
.
statPanel
.
new
(
'Server Requests Count'
,
grafana
.
statPanel
.
new
(
'Server Requests Count'
,
datasource
=
'Prometheus'
,
datasource
=
'Prometheus'
,
allValues
=
false
,
allValues
=
false
,
colorMode
=
'background'
,
colorMode
=
'background'
,
...
@@ -172,7 +174,7 @@ grafana.dashboard.new(
...
@@ -172,7 +174,7 @@ grafana.dashboard.new(
),
),
gridPos
={
h
:
5
,
w
:
30
,
x
:
0
,
y
:
20
}
gridPos
={
h
:
5
,
w
:
30
,
x
:
0
,
y
:
20
}
)
)
).
addRow
(
).
addRow
(
row
.
new
(
row
.
new
(
'Basic Stats'
,
'Basic Stats'
,
)
)
...
@@ -185,7 +187,7 @@ grafana.dashboard.new(
...
@@ -185,7 +187,7 @@ grafana.dashboard.new(
postfix
=
''
,
postfix
=
''
,
colorBackground
=
true
,
colorBackground
=
true
,
colorValue
=
false
,
colorValue
=
false
,
thresholds
=
"10,25"
,
thresholds
=
'10,25'
,
colors
=[
colors
=[
'rgba(237, 129, 40, 0.89)'
,
'rgba(237, 129, 40, 0.89)'
,
'#00FF00'
,
'#00FF00'
,
...
@@ -198,7 +200,9 @@ grafana.dashboard.new(
...
@@ -198,7 +200,9 @@ grafana.dashboard.new(
datasource
=
'Prometheus'
,
datasource
=
'Prometheus'
,
)
)
)
)
).
addPanel
(
gaugePanel
.
new
(
'Jvm buffer capacity'
,
).
addPanel
(
gaugePanel
.
new
(
'Jvm buffer capacity'
,
datasource
=
'Prometheus'
,
datasource
=
'Prometheus'
,
min
=
0
,
min
=
0
,
max
=
1073741824
,
max
=
1073741824
,
...
@@ -215,7 +219,9 @@ grafana.dashboard.new(
...
@@ -215,7 +219,9 @@ grafana.dashboard.new(
)
)
),
),
gridPos
={
h
:
5
,
w
:
30
,
x
:
0
,
y
:
0
}
gridPos
={
h
:
5
,
w
:
30
,
x
:
0
,
y
:
0
}
).
addPanel
(
gaugePanel
.
new
(
'Jvm Memory Max Bytes'
,
).
addPanel
(
gaugePanel
.
new
(
'Jvm Memory Max Bytes'
,
datasource
=
'Prometheus'
,
datasource
=
'Prometheus'
,
min
=
0
,
min
=
0
,
max
=
53687091200
,
max
=
53687091200
,
...
@@ -233,127 +239,4 @@ grafana.dashboard.new(
...
@@ -233,127 +239,4 @@ grafana.dashboard.new(
),
),
gridPos
={
h
:
15
,
w
:
30
,
x
:
0
,
y
:
0
}
gridPos
={
h
:
15
,
w
:
30
,
x
:
0
,
y
:
0
}
)
)
)
)
.
addRow
(
row
.
new
(
'HikariCP Statistics'
,
)
.
addPanel
(
singleStat
.
new
(
'Connection Size'
,
span
=
6
,
prefix
=
''
,
postfix
=
''
,
colorBackground
=
true
,
colorValue
=
false
,
thresholds
=
"10,25"
,
colors
=[
'rgba(237, 129, 40, 0.89)'
,
'#00FF00'
,
'green'
,
]
)
.
addTarget
(
prometheus
.
target
(
'hikaricp_connections{env="$env",job="$job",instance="$instance"}'
,
datasource
=
'Prometheus'
,
)
)
)
.
addPanel
(
singleStat
.
new
(
'Connection Timeout Count'
,
span
=
6
,
prefix
=
''
,
postfix
=
''
,
colorBackground
=
true
,
colorValue
=
false
,
thresholds
=
"10,25"
,
colors
=[
'rgba(237, 129, 40, 0.89)'
,
'#00FF00'
,
'green'
,
]
)
.
addTarget
(
prometheus
.
target
(
'hikaricp_connections_timeout_total{env="$env",job="$job",instance="$instance"}'
,
datasource
=
'Prometheus'
,
)
)
)
.
addPanel
(
graphPanel
.
new
(
'Connection Creation Time'
,
span
=
4
,
fill
=
1
,
min
=
0
,
format
=
's'
,
legend_values
=
true
,
legend_min
=
true
,
legend_max
=
true
,
legend_current
=
true
,
legend_total
=
false
,
legend_avg
=
true
,
legend_alignAsTable
=
true
,
)
.
addTarget
(
prometheus
.
target
(
'hikaricp_connections_creation_seconds_sum/hikaricp_connections_creation_seconds_count'
,
legendFormat
=
'Connection Creation Time'
,
datasource
=
'Prometheus'
,
)
),
gridPos
=
{
h
:
5
,
w
:
30
,
x
:
0
,
y
:
0
}
)
.
addPanel
(
graphPanel
.
new
(
'Connection Usage Time'
,
span
=
4
,
fill
=
1
,
min
=
0
,
format
=
's'
,
legend_values
=
true
,
legend_min
=
true
,
legend_max
=
true
,
legend_current
=
true
,
legend_total
=
false
,
legend_avg
=
true
,
legend_alignAsTable
=
true
,
)
.
addTarget
(
prometheus
.
target
(
'hikaricp_connections_usage_seconds_sum/hikaricp_connections_usage_seconds_count'
,
legendFormat
=
'Connection Usage Time'
,
datasource
=
'Prometheus'
,
)
),
gridPos
=
{
h
:
5
,
w
:
30
,
x
:
0
,
y
:
0
}
)
.
addPanel
(
graphPanel
.
new
(
'Connection Acquire Time'
,
span
=
4
,
fill
=
1
,
min
=
0
,
format
=
's'
,
legend_values
=
true
,
legend_min
=
true
,
legend_max
=
true
,
legend_current
=
true
,
legend_total
=
false
,
legend_avg
=
true
,
legend_alignAsTable
=
true
,
)
.
addTarget
(
prometheus
.
target
(
'hikaricp_connections_acquire_seconds_sum/ hikaricp_connections_acquire_seconds_count'
,
legendFormat
=
'Connection Usage Time'
,
datasource
=
'Prometheus'
,
)
),
gridPos
=
{
h
:
5
,
w
:
30
,
x
:
0
,
y
:
0
}
)
)
\ No newline at end of file
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