BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
2149e90c
Commit
2149e90c
authored
Sep 09, 2017
by
Joshua Lambert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ingress query
parent
6e2ce467
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
additional_metrics.yml
config/prometheus/additional_metrics.yml
+3
-2
No files found.
config/prometheus/additional_metrics.yml
View file @
2149e90c
...
...
@@ -7,15 +7,16 @@
-
nginx_upstream_responses_total
weight
:
1
queries
:
-
query_range
:
'
rate(nginx_upstream_responses_total{upstream=~"%{kube_namespace}-%{ci_environment_slug}-.*"}[2m]
)'
-
query_range
:
'
sum(rate(nginx_upstream_responses_total{upstream=~"%{kube_namespace}-%{ci_environment_slug}-.*"}[2m]))
by
(status_code
)'
unit
:
req / sec
label
:
Status Code
series
:
-
label
:
status_code
when
:
-
value
:
2xx
color
:
green
-
value
:
4xx
color
:
yellow
color
:
orange
-
value
:
5xx
color
:
red
-
title
:
"
Latency"
...
...
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