Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2c064dd5
Commit
2c064dd5
authored
Feb 04, 2020
by
Andrei Stoicescu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add default dashboard and metrics to self monitoring project
parent
9fe418ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
config/prometheus/self_monitoring_default.yml
config/prometheus/self_monitoring_default.yml
+39
-0
No files found.
config/prometheus/self_monitoring_default.yml
0 → 100644
View file @
2c064dd5
dashboard
:
'
Default
dashboard'
priority
:
1
panel_groups
:
-
group
:
Web Service
panels
:
-
title
:
Web Service - Error Ratio
type
:
line-chart
y_label
:
"
Unhandled
Exceptions
(%)"
metrics
:
-
id
:
wser_web_service
query_range
:
'
max(max_over_time(gitlab_service_errors:ratio{environment="{{ci_environment_slug}}",
type="web",
stage="main"}[1m]))
by
(type)
*
100'
unit
:
"
%"
label
:
"
Error
Ratio"
-
id
:
wser_degradation_slo
query_range
:
'
avg(slo:max:gitlab_service_errors:ratio{environment="{{ci_environment_slug}}",
type="web",
stage="main"})
or
avg(slo:max:gitlab_service_errors:ratio{type="web"})
*
100'
unit
:
"
%"
label
:
"
Degradation
SLO"
-
id
:
wser_outage_slo
query_range
:
'
2
*
(avg(slo:max:gitlab_service_errors:ratio{environment="{{ci_environment_slug}}",
type="web",
stage="main"})
or
avg(slo:max:gitlab_service_errors:ratio{type="web"}))
*
100'
unit
:
"
%"
label
:
"
Outage
SLO"
-
group
:
API Service
panels
:
-
title
:
API Service - Error Ratio
type
:
line-chart
y_label
:
"
Unhandled
Exceptions
(%)"
metrics
:
-
id
:
aser_web_service
query_range
:
'
max(max_over_time(gitlab_service_errors:ratio{environment="{{ci_environment_slug}}",
type="api",
stage="main"}[1m]))
by
(type)
*
100'
unit
:
"
%"
label
:
"
Error
Ratio"
-
id
:
aser_degradation_slo
query_range
:
'
avg(slo:max:gitlab_service_errors:ratio{environment="{{ci_environment_slug}}",
type="api",
stage="main"})
or
avg(slo:max:gitlab_service_errors:ratio{type="web"})
*
100'
unit
:
"
%"
label
:
"
Degradation
SLO"
-
id
:
aser_outage_slo
query_range
:
'
2
*
(avg(slo:max:gitlab_service_errors:ratio{environment="{{ci_environment_slug}}",
type="api",
stage="main"})
or
avg(slo:max:gitlab_service_errors:ratio{type="web"}))
*
100'
unit
:
"
%"
label
:
"
Outage
SLO"
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