Skip to content

Stats - upstream_rq_5xx don't add up with 2xx and rq_total #3950

@tak2siva

Description

@tak2siva

Total

cluster.external_app1_http.upstream_rq_total: 37988

2xx

cluster.external_app1_http.upstream_rq_200: 37981
cluster.external_app1_http.upstream_rq_2xx: 37981

5xx

cluster.external_app1_http.upstream_rq_503: 7303
cluster.external_app1_http.upstream_rq_5xx: 7303

Retries

cluster.external_app1_http.upstream_rq_retry: 0
cluster.external_app1_http.upstream_rq_retry_overflow: 0
cluster.external_app1_http.upstream_rq_retry_success: 0

There are around 7k 5xx and 0 retries.
So how come the 2xx count is pretty much same as rq_total ??

Shouldn't it be like rq_total - 5xx (i.e) 37k - 7k ~= 30k 2xx ?
How are those 7k 5xx not subtracted in 2xx

Full Stats Link


Additional Info:

I have a setup like this in k8s

   ( front proxy ) ->       [ Envoy Sidecar ]   ->    [   Envoy Sidecar   ]
                              [ Gateway]                [external_app_1]                          

Above is the log for Gateway Envoy Sidecar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions