简体   繁体   English

如何将服务器指标数据发送到statsd?

[英]How to send server metrics data to statsd?

Our monitoring stack is Grafana + InluxDB + statsD. 我们的监视堆栈是Grafana + InluxDB + statsD。

We use it for application monitoring. 我们将其用于应用程序监视。

We need to add server metrics (CPU, memory, network connections, etc...) to Grafana, so I'm guessing we'll need some agent to collect server metrics and pass to statsD. 我们需要将服务器指标(CPU,内存,网络连接等)添加到Grafana,所以我猜测我们将需要一些代理来收集服务器指标并传递给statsD。

Do you know of any agent that can do that? 您是否知道任何可以做到这一点的代理? or any other way to implement this? 或任何其他方式来实现这一目标?

可能最简单的选择是切换到使用收集的https://collectd.org/ ,并用statsd插件替换statsd来收集https://collectd.org/wiki/index.php/Plugin:StatsD

Check https://my-netdata.io . 检查https://my-netdata.io

It can monitor a ton of things, it is a statsd server by itself, it can visualize all metrics by itself and can push all metrics to graphite, opentsdb, prometheus, influxdb, etc. 它可以监视很多东西,它本身就是statsd服务器,它可以自己可视化所有指标,并且可以将所有指标推送到石墨,opentsdb,prometheus,influxdb等。

Free and open source: GPL v3+. 免费和开源:GPL v3 +。

EDIT: it also allows you to send statsd metrics from shell scripts: https://github.com/firehol/netdata/wiki/statsd#sending-statsd-metrics-from-shell-scripts 编辑:它还允许您从shell脚本发送statsd指标: https : //github.com/firehol/netdata/wiki/statsd#sending-statsd-metrics-from-shell-scripts

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM