- alert: NginxSlowResponseTime expr: avg(nginx_http_request_duration_seconds_bucket{le="1"} / sum(nginx_http_request_duration_seconds_count) > 0.05) for: 5m labels: severity: warning annotations: summary: "High Nginx Slow Response Time (instance {{ labels.instance }})" ...
nginx_http_connections{state="reading"}0 nginx_http_connections{state="waiting"}1 nginx_http_connections{state="writing"}1 # HELP nginx_http_request_duration_seconds HTTP request latency # TYPE nginx_http_request_duration_seconds histogram nginx_http_request_duration_seconds_bucket{host="",le="0....
-alert:HighResponseTimeexpr:histogram_quantile(0.95, sum(rate(nginx_http_request_duration_seconds_bucket[5m])) by (le)) > 1for:5mlabels:severity:warningannotations:summary:"High response time on Nginx"description:"95% of Nginx requests are taking longer than 1 second to respond." 错误率告警:...
nginx-ingress请求时延 histogram_quantile(0.90, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{status="200"}[1m])) by (le, ingress, host, path)) * 1000 histogram_quantile(0.95, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{status="200"}[1m])) by (le, ...
address: http://flagger-prometheus.ingress-nginx:9090 query: | histogram_quantile(0.99, sum( rate( http_request_duration_seconds_bucket{ kubernetes_namespace="{{ namespace }}", kubernetes_pod_name=~"{{ target }}-[0-9a-zA-Z]+(-[0-9a-zA-Z]+)" ...
request_duration_seconds_bucket[5m])) # Average upstream response time rate(nginx_vts_upstream_response_seconds_total[5m]) / rate(nginx_vts_upstream_requests_total{code=~"2xx|3xx|4xx|5xx"}[5m]) # P90 upstream latency histogram_quantile(0.90, rate(nginx_vts_upstream_response_duration_seconds...
histogram_quantile(0.99, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{status="200"}[1m])) by (le, ingress, host, path)) * 1000 请求失败率 sum(rate(nginx_ingress_controller_requests{status=~"[4-5].*"}[5m])) / sum(rate(nginx_ingress_controller_requests{}[5m])) *...
summary: "Too many HTTP requests with status 5xx (> 1%)" - alert: NginxLatencyHigh expr: histogram_quantile(0.99, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket[2m])) by (host, node)) > 3 for: 2m labels: severity: warining ...
_response_duration_seconds Histogram Updated _response_size Histogram _request_size Histogram _requests Counter DEPRECATED _bytes_sent Histogram _ingress_upstream_latency_seconds` Summary REMOVED ingress_upstream_header_seconds Summary Also upgraded to golang 1.19.1 Images: registry.k8s.io/ingress-ngin...
我使用ingress-nginx作为在K8S上运行的服务的入口控制器(我使用nginx-0.20.0版本镜像,入口控制器使用的K8S配置图中没有特定的指标配置)。nginx- ingress controller pod被成功地抓取到我的Prometheus服务器中,但是所有的入口指标(例如nginx_ingress_controller_request_duration_seconds_bucket)都显示为path="& ...