prometheus - Prometheus UI 间歇性地抛出警告
问题描述
我在 Kubernetes 环境中的 Docker 映像中运行 Prometheus(版本 2.29.1)。
~ $ prometheus --version
prometheus, version 2.29.1 (branch: HEAD, revision: dcb07e8eac34b5ea37cd229545000b857f1c1637)
build user: root@364730518a4e
build date: 20210811-14:48:27
go version: go1.16.7
platform: linux/amd64
Prometheus UI 偶尔会显示“警告:获取服务器时间时出现意外响应状态:无法获取”的警告。图片链接如下以供参考。此错误并不总是出现,但只会出现几次。我尝试为 Prometheus pod 打开 log.level 上的调试选项,但在日志中未观察到相关错误。节点上的资源可用性看起来不错。还有其他人遇到类似问题或我们知道的任何可能的修复吗?
我在 UI 中收到的错误消息是:
Warning: Unexpected response status when fetching server time: Failed to fetch
解决方案
推荐阅读
- docker - 在 docker 容器中安装 ffmpeg 包
- c++ - 发送带有 libcurl C++ 问题的帖子请求:s
- javascript - 我如何编写一个函数,该函数迭代一系列不同数量的元素,提取 4 个顺序数组
- powershell - 我如何使用 Set-AIPFileLabel = Unprotect-RMSFile -OutputFolder
- microsoft-teams - Microsoft-Teams:由于“到达此应用程序时出现问题”错误,无法测试个人选项卡
- node.js - Commander.js 多词参数
- windows - 什么会导致 Windows 上的系统进程 pid 4 意外接管执行?
- reactjs - 将用户返回到下次访问 reactjs 的最后一步
- docker - Gitlab CI-CD via Docker:无法在另一个容器中访问 Nexus
- c++ - 在 C++ 中,我应该使用类的指针(或引用)作为函数的变量吗?