diff options
Diffstat (limited to 'config/prometheus/common_metrics.yml')
-rw-r--r-- | config/prometheus/common_metrics.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/prometheus/common_metrics.yml b/config/prometheus/common_metrics.yml index 85833cc1968..4d0ea4a345d 100644 --- a/config/prometheus/common_metrics.yml +++ b/config/prometheus/common_metrics.yml @@ -218,3 +218,13 @@ panel_groups: query_range: 'sum(rate(nginx_server_requests{code="5xx", %{environment_filter}}[2m]))' label: HTTP Errors unit: "errors / sec" + - title: "HTTP Error Rate" + type: "area-chart" + y_label: "HTTP Errors (%)" + weight: 1 + metrics: + - id: response_metrics_nginx_http_error_percentage + query_range: 'sum(rate(nginx_server_requests{code=~"5.*", host="*", %{environment_filter}}[2m])) / sum(rate(nginx_server_requests{code="total", host="*", %{environment_filter}}[2m])) * 100' + label: 5xx Errors (%) + unit: "%" + |