我在经营码头集装箱。我想把石墨指标和bosun集成在一起。
为此需要做的配置更改是什么?
发布于 2015-08-13 11:57:20
发布于 2015-12-18 19:04:39
@kyle-brandt的答案是可以的,我给了它一个向上的投票,但它和Bosun文档并没有真正解释如何使用一个你不托管的图形,即hostedgraphite.com。利用这些文档和一些尝试和错误,我解决了一些问题。所以就这样说:
https://www.hostedgraphite.com/deadbeef/431-831/graphite/。data.conf:
tsdbHost = localhost:4242 stateFile = /data/bosun.state graphiteHost = https://www.hostedgraphite.com/deadbeef/431-831/graphite/renderdocker run -d \ -p 80:8070 \ --name=bosun \ -v `pwd`/bosun.conf:/data/bosun.conf \ stackexchange/bosun注意到我没有执行4242端口映射,因为我只是从hostedgraphite.com获取数据,并将8070映射到80,这样我就不必在浏览器中指定端口。GraphiteQuery,但这对我没有用,相反,graphite起了作用。例如:graphite("my.long.metric.name.for.some.method", "10m", "", "")。文档的示例部分中也有一个示例(谢谢@kyle-brandt)。https://stackoverflow.com/questions/31981042
复制相似问题