【问题标题】:Prometheus - Dispatched FailedPrometheus - 发送失败
【发布时间】:2017-05-09 20:51:33
【问题描述】:

我只是想用prometheus代理来监控一些参数。 应用程序通过代理启动

-javaagent:lib/boot/jmx_prometheus_javaagent-0.9.jar=$PROMETHEUS_PORT:etc/jmx.prometheus.yaml

但不幸的是,我收到了很多这样的警告

2017-05-09 16:39:11.585:WARN:ipjsoeji.nio:调度失败! SCEP@24e5b398{l(/172.20.26.126:55958)r(/172.20.26.100:9255),d=false,open=true,ishut=false,oshut=false,rb=false,wb=false, w=true,i=1r}-{AsyncHttpConnection@6471d314,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0 ,c=0},r=0} 到 io.prometheus.jmx.shaded.org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@6d2459c4

这是某种类型的日志洪水。在几秒钟内,日志文件达到超过 1GB 的大小。

我已阅读有关此问题的帖子(例如 Jetty 8.1 flooding the log file with "Dispatched Failed" messages),但它并没有解决我的问题。

有没有人遇到同样的问题并且知道为什么会出现这个问题以及如何解决它?

【问题讨论】:

  • 嘿,你找到解决这个问题的方法了吗?
  • 很遗憾我没有。
  • 我将代理升级到 0.10 版,并且运行良好。你试过了吗?或者只有 0.9
  • 感谢您的建议,但不幸的是我不再使用普罗米修斯了。可能新版本没有这个问题。

标签: jetty prometheus


【解决方案1】:

看起来像 https://github.com/prometheus/jmx_exporter/issues/122,假设你有很多内核。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-07-28
    • 2020-10-15
    • 2011-08-21
    • 1970-01-01
    • 1970-01-01
    • 2019-10-01
    • 2013-05-29
    • 2016-04-11
    相关资源
    最近更新 更多