Grafana调整等待时间,避免Gateway timeout报错

使用Grafana的HTTP时,有些即时数据需要运算量与时间,而grafana的默认timeout是30秒,因此需要通过修改配置文件,避免grafana提前中断连接

修改原始配置文件:

  1. 删除;
  2. 调整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
相关推荐
JasonChen@6669 分钟前
pushgateway组件实现自定义监控数据采集(16)
grafana·prometheus·pushgateway
W_son2 天前
14.Grafana 监控看板实战:新建、调优、变量配置全流程
grafana·prometheus
BullSmall4 天前
Prometheus监控栈安全加固全攻略
安全·grafana·prometheus
JasonChen@6666 天前
prometheus静态监控static_config案例四(10)
grafana·prometheus
JasonChen@6668 天前
prometheus静态监控static_config案例二(8)
grafana·prometheus
IT古董14 天前
Grafana 企业级可观测性平台:从零基础到生产级实战完整教程
grafana
闲云野鹤在人间18 天前
Prometheus入门|搭建Prometheus+Node‑Exporter+Grafana完整主机监控平台
grafana·prometheus
何中应1 个月前
Grafana如何共享面板
运维·grafana·可观测
何中应1 个月前
Grafana如何安装插件
运维·grafana·可观测
看浪的路人1 个月前
第8讲:记忆系统的监控与运维——Prometheus 指标、Grafana 面板与告警体系
运维·grafana·prometheus