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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
dcdcb377
Commit
dcdcb377
authored
Apr 15, 2019
by
rpereira2
Committed by
syasonik
Apr 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove required_metrics and series attributes
- They are not used by the frontend.
parent
8a51b219
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
81 deletions
+0
-81
config/prometheus/common_metrics.yml
config/prometheus/common_metrics.yml
+0
-81
No files found.
config/prometheus/common_metrics.yml
View file @
dcdcb377
...
...
@@ -8,28 +8,15 @@ panel_groups:
-
title
:
"
Throughput"
type
:
"
area-chart"
y_label
:
"
Requests
/
Sec"
required_metrics
:
-
nginx_upstream_responses_total
weight
:
1
metrics
:
-
id
:
response_metrics_nginx_ingress_throughput_status_code
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
:
orange
-
value
:
5xx
color
:
red
-
title
:
"
Latency"
type
:
"
area-chart"
y_label
:
"
Latency
(ms)"
required_metrics
:
-
nginx_upstream_response_msecs_avg
weight
:
1
metrics
:
-
id
:
response_metrics_nginx_ingress_latency_pod_average
...
...
@@ -39,8 +26,6 @@ panel_groups:
-
title
:
"
HTTP
Error
Rate"
type
:
"
area-chart"
y_label
:
"
HTTP
Errors"
required_metrics
:
-
nginx_upstream_responses_total
weight
:
1
metrics
:
-
id
:
response_metrics_nginx_ingress_http_error_rate
...
...
@@ -54,30 +39,15 @@ panel_groups:
-
title
:
"
Throughput"
type
:
"
area-chart"
y_label
:
"
Requests
/
Sec"
required_metrics
:
-
nginx_ingress_controller_requests
weight
:
1
metrics
:
-
id
:
response_metrics_nginx_ingress_16_throughput_status_code
query_range
:
'
sum(label_replace(rate(nginx_ingress_controller_requests{namespace="%{kube_namespace}",ingress=~".*%{ci_environment_slug}.*"}[2m]),
"status_code",
"${1}xx",
"status",
"(.).."))
by
(status_code)'
unit
:
req / sec
label
:
Status Code
series
:
-
label
:
status_code
when
:
-
value
:
2xx
color
:
green
-
value
:
3xx
color
:
blue
-
value
:
4xx
color
:
orange
-
value
:
5xx
color
:
red
-
title
:
"
Latency"
type
:
"
area-chart"
y_label
:
"
Latency
(ms)"
required_metrics
:
-
nginx_ingress_controller_ingress_upstream_latency_seconds_sum
weight
:
1
metrics
:
-
id
:
response_metrics_nginx_ingress_16_latency_pod_average
...
...
@@ -87,8 +57,6 @@ panel_groups:
-
title
:
"
HTTP
Error
Rate"
type
:
"
area-chart"
y_label
:
"
HTTP
Errors"
required_metrics
:
-
nginx_ingress_controller_requests
weight
:
1
metrics
:
-
id
:
response_metrics_nginx_ingress_16_http_error_rate
...
...
@@ -101,28 +69,15 @@ panel_groups:
-
title
:
"
Throughput"
type
:
"
area-chart"
y_label
:
"
Requests
/
Sec"
required_metrics
:
-
haproxy_frontend_http_requests_total
weight
:
1
metrics
:
-
id
:
response_metrics_ha_proxy_throughput_status_code
query_range
:
'
sum(rate(haproxy_frontend_http_requests_total{%{environment_filter}}[2m]))
by
(code)'
unit
:
req / sec
label
:
Status Code
series
:
-
label
:
status_code
when
:
-
value
:
2xx
color
:
green
-
value
:
4xx
color
:
yellow
-
value
:
5xx
color
:
red
-
title
:
"
HTTP
Error
Rate"
type
:
"
area-chart"
y_label
:
"
Error
Rate
(%)"
required_metrics
:
-
haproxy_frontend_http_responses_total
weight
:
1
metrics
:
-
id
:
response_metrics_ha_proxy_http_error_rate
...
...
@@ -135,8 +90,6 @@ panel_groups:
-
title
:
"
Throughput"
type
:
"
area-chart"
y_label
:
"
Requests
/
Sec"
required_metrics
:
-
aws_elb_request_count_sum
weight
:
1
metrics
:
-
id
:
response_metrics_aws_elb_throughput_requests
...
...
@@ -146,8 +99,6 @@ panel_groups:
-
title
:
"
Latency"
type
:
"
area-chart"
y_label
:
"
Latency
(ms)"
required_metrics
:
-
aws_elb_latency_average
weight
:
1
metrics
:
-
id
:
response_metrics_aws_elb_latency_average
...
...
@@ -157,9 +108,6 @@ panel_groups:
-
title
:
"
HTTP
Error
Rate"
type
:
"
area-chart"
y_label
:
"
Error
Rate
(%)"
required_metrics
:
-
aws_elb_request_count_sum
-
aws_elb_httpcode_backend_5_xx_sum
weight
:
1
metrics
:
-
id
:
response_metrics_aws_elb_http_error_rate
...
...
@@ -172,28 +120,15 @@ panel_groups:
-
title
:
"
Throughput"
type
:
"
area-chart"
y_label
:
"
Requests
/
Sec"
required_metrics
:
-
nginx_server_requests
weight
:
1
metrics
:
-
id
:
response_metrics_nginx_throughput_status_code
query_range
:
'
sum(rate(nginx_server_requests{server_zone!="*",
server_zone!="_",
%{environment_filter}}[2m]))
by
(code)'
unit
:
req / sec
label
:
Status Code
series
:
-
label
:
status_code
when
:
-
value
:
2xx
color
:
green
-
value
:
4xx
color
:
orange
-
value
:
5xx
color
:
red
-
title
:
"
Latency"
type
:
"
area-chart"
y_label
:
"
Latency
(ms)"
required_metrics
:
-
nginx_server_requestMsec
weight
:
1
metrics
:
-
id
:
response_metrics_nginx_latency
...
...
@@ -203,8 +138,6 @@ panel_groups:
-
title
:
"
HTTP
Error
Rate"
type
:
"
area-chart"
y_label
:
"
HTTP
500
Errors
/
Sec"
required_metrics
:
-
nginx_server_requests
weight
:
1
metrics
:
-
id
:
response_metrics_nginx_http_error_rate
...
...
@@ -217,8 +150,6 @@ panel_groups:
-
title
:
"
Memory
Usage
(Total)"
type
:
"
area-chart"
y_label
:
"
Total
Memory
Used"
required_metrics
:
-
container_memory_usage_bytes
weight
:
4
metrics
:
-
id
:
system_metrics_kubernetes_container_memory_total
...
...
@@ -228,8 +159,6 @@ panel_groups:
-
title
:
"
Core
Usage
(Total)"
type
:
"
area-chart"
y_label
:
"
Total
Cores"
required_metrics
:
-
container_cpu_usage_seconds_total
weight
:
3
metrics
:
-
id
:
system_metrics_kubernetes_container_cores_total
...
...
@@ -239,8 +168,6 @@ panel_groups:
-
title
:
"
Memory
Usage
(Pod
average)"
type
:
"
area-chart"
y_label
:
"
Memory
Used
per
Pod"
required_metrics
:
-
container_memory_usage_bytes
weight
:
2
metrics
:
-
id
:
system_metrics_kubernetes_container_memory_average
...
...
@@ -250,8 +177,6 @@ panel_groups:
-
title
:
"
Canary:
Memory
Usage
(Pod
Average)"
type
:
"
area-chart"
y_label
:
"
Memory
Used
per
Pod"
required_metrics
:
-
container_memory_usage_bytes
weight
:
2
metrics
:
-
id
:
system_metrics_kubernetes_container_memory_average_canary
...
...
@@ -262,8 +187,6 @@ panel_groups:
-
title
:
"
Core
Usage
(Pod
Average)"
type
:
"
area-chart"
y_label
:
"
Cores
per
Pod"
required_metrics
:
-
container_cpu_usage_seconds_total
weight
:
1
metrics
:
-
id
:
system_metrics_kubernetes_container_core_usage
...
...
@@ -273,8 +196,6 @@ panel_groups:
-
title
:
"
Canary:
Core
Usage
(Pod
Average)"
type
:
"
area-chart"
y_label
:
"
Cores
per
Pod"
required_metrics
:
-
container_cpu_usage_seconds_total
weight
:
1
metrics
:
-
id
:
system_metrics_kubernetes_container_core_usage_canary
...
...
@@ -285,8 +206,6 @@ panel_groups:
-
title
:
"
Knative
function
invocations"
type
:
"
area-chart"
y_label
:
"
Invocations"
required_metrics
:
-
istio_revision_request_count
weight
:
1
metrics
:
-
id
:
system_metrics_knative_function_invocation_count
...
...
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