-
What Grafana version and what operating system are you using?
8.3.3 -
What are you trying to achieve?
Higher query timeout to loki data source, more than 10s
to show full data graph in grafana, that enabled by fullRangeLogsVolume feature toggles -
How are you trying to achieve it?
Increasing dataproxy timeout configuration -
What happened?
The query still timeout in 10s -
What did you expect to happen?
The full data graph in grafana can be shown, with more than 10s timeout -
Can you copy/paste the configuration(s) that you are having problems with?
grafana.ini:
dataproxy:
logging: true
timeout: 600
keep_alive_seconds: 600
dialTimeout: 600
tls_handshake_timeout_seconds: 600 -
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
In grafana UI
Error log in Grafana
t=2022-01-06T09:34:00+0000 lvl=eror msg="Data proxy error" logger=data-proxy-log userId=1 orgId=1 uname=devops path=/api/datasources/proxy/1/loki/api/v1/query_range remote_addr="111.94.8.212, 34.102.200.171" referer="https://logging-grafana.dev.kmklabs.com/explore?orgId=1&left=%5B%22now-2d%22,%22now%22,%22Loki%22,%7B%22refId%22:%22A%22,%22expr%22:%22%7Bnamespace%3D%5C%22banzai%5C%22%7D%22%7D%5D" error="http: proxy error: context canceled"
t=2022-01-06T09:34:00+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=devops method=GET path=/api/datasources/proxy/1/loki/api/v1/query_range status=502 remote_addr="111.94.8.212, 34.102.200.171" time_ms=15049 size=0 referer="https://logging-grafana.dev.kmklabs.com/explore?orgId=1&left=%5B%22now-2d%22,%22now%22,%22Loki%22,%7B%22refId%22:%22A%22,%22expr%22:%22%7Bnamespace%3D%5C%22banzai%5C%22%7D%22%7D%5D"
- Did you follow any online instructions? If so, what is the URL?
No