add new summary metric: ingress_header_seconds (#8726)

This commit is contained in:
Dmitry Bashkatov 2022-06-22 22:59:43 +03:00 committed by GitHub
parent 7806159b38
commit f85c3866d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 4 deletions

View file

@ -47,6 +47,7 @@ local function metrics()
responseLength = tonumber(ngx.var.bytes_sent) or -1,
upstreamLatency = tonumber(ngx.var.upstream_connect_time) or -1,
upstreamHeaderTime = tonumber(ngx.var.upstream_header_time) or -1,
upstreamResponseTime = tonumber(ngx.var.upstream_response_time) or -1,
upstreamResponseLength = tonumber(ngx.var.upstream_response_length) or -1,
--upstreamStatus = ngx.var.upstream_status or "-",