我一直在试着从耳语中理解-信息py输出,对我来说有点神秘。在
目前这是我的设置:
储存-模式.conf
[carbon]
pattern = ^carbon\.
retentions = 60:90d
[stats]
pattern = ^stats.*
retentions = 30s:6h,1min:30d,10min:360d,30min:720d,1h:1825d,1d:1825d
[everything_else]
pattern = .*
retentions = 30s:6h,1min:30d,10min:360d,30min:720d,1h:1825d,1d:1825d
储存-聚合.conf
^{pr2}$我前面有statsd,很小 localConfig.js
{
graphitePort: 2003,
graphiteHost: "127.0.0.1",
port: 8125,
flushInterval: 30000,
}
现在我向stasd发送了一个全新的度量
echo "alex.foo:1|c" | nc -w1 -u 127.0.0.1 8125
这是耳语的输出-信息py公司名称:
# whisper-info.py /opt/graphite/storage/whisper/stats/alex/foo.wsp
maxRetention: 604800
xFilesFactor: 0.300000011921
aggregationMethod: average
fileSize: 120988
Archive 0
retention: 604800
secondsPerPoint: 60
points: 10080
size: 120960
offset: 28
为什么只有一个档案,而我显然有这么多的保留设置?我的模式规则不正确吗?输出的含义是什么?大小是文件大小吗?抵消?在
感谢您抽空回答!在
我发现问题出在我的存储器的语法上-模式.conf文件。我找到了这个方便的工具验证存储-模式.py(在/opt/graphite/bin/中找到)并且输出非常清晰。在
现在如果我对这些文件做个耳语,他们就有意义了:
在根@graftwo:/opt/graphite#耳语-信息py/opt/graphite/存储/耳语/本地/测试/骰子卷.wsp 最大保留:17280000 X文件系数:0.30000001921 聚合方法:平均 文件大小:2113528
^{pr2}$我仍在想两件事: -为什么carbon cache没有因语法错误而失败? -这些硬违约从何而来? -这是什么东西?在
谢谢!希望这对其他人有帮助
相关问题 更多 >
编程相关推荐