add canary backend name for requests metrics (#7696)
This commit is contained in:
parent
15385c6d56
commit
ddbb0be0a0
4 changed files with 124 additions and 65 deletions
|
|
@ -37,6 +37,7 @@ local function metrics()
|
|||
namespace = ngx.var.namespace or "-",
|
||||
ingress = ngx.var.ingress_name or "-",
|
||||
service = ngx.var.service_name or "-",
|
||||
canary = ngx.var.proxy_alternative_upstream_name or "-",
|
||||
path = ngx.var.location_path or "-",
|
||||
|
||||
method = ngx.var.request_method or "-",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue