使用Grafana的HTTP时,有些即时数据需要运算量与时间,而grafana的默认timeout是30秒,因此需要通过修改配置文件,避免grafana提前中断连接
修改原始配置文件:
- 删除
;
- 调整
timeout=30
为timeout=60
text
# This setting also applies to core backend HTTP data sources where query requests use an HTTP client with timeout set.
;timeout = 30
改为:
text
# This setting also applies to core backend HTTP data sources where query requests use an HTTP client with timeout set.
timeout = 60