Hi,
I’m seeing this 502 errors in Grafana log and would like to understand what is going on:
t=2021-02-04T16:32:10+0000 lvl=info msg=“Request Completed” logger=context userId=86 orgId=1 uname=shen.wan method=POST path=/api/datasources/proxy/45/api/v1/query_range status=502 remote_addr=10.40.44.22 time_ms=598 size=0 referer=“https://grafana.myorg.internal/d/yAZ-vPBMk/grafana?orgId=1&refresh=1m”
There are usually ~10 identical log entries (except the time_ms field) like this within a second.
We deploy Grafana to query Thanos in GKE. In Envoy we do not see 502, just 500 and
DC: Downstream connection termination.
Does Grafana terminate the connection and somehow changed 500 to 502? And why it says “Request Completed”? Does it get full or partial result?