导入一堆数据时,Graphite会跳过并切断指标名称

时间:2012-11-20 12:21:44

标签: graphite

当它跳过并切断某些指标和指标名称时,是否有人遇到过这种奇怪的石墨行为?

例如,当我使用命令

导入大约约20Mb的文件时
cat ./metrics.log | nc graphite-host 2003

包含这样的数据

...
pkd.zont_10_4_8_107.histogram.ibgm_fx_import.failure.lifetime.min 0.0000 1353400609
pkd.zont_10_4_8_107.histogram.ibgm_fx_import.failure.lifetime.max 0.0000 1353400609
pkd.zont_10_4_8_107.histogram.ibgm_fx_import.failure.lifetime.arithmetic_mean 0.0000 1353400609
pkd.zont_10_4_8_107.histogram.ibgm_fx_import.failure.lifetime.geometric_mean 0.0000 1353400609
pkd.zont_10_4_8_107.histogram.ibgm_fx_import.failure.lifetime.harmonic_mean 0.0000 1353400609
pkd.zont_10_4_8_107.histogram.ibgm_fx_import.failure.lifetime.median 0.0000 1353400609
...

某些指标名称无效,甚至不会导入文件中的所有指标。

invalid metric name

正如您所见,指标zont_10_4_8_107显示为nt_10_4_8_107

1 个答案:

答案 0 :(得分:0)

谢谢大家。问题已经解决了。带有指标的文件已损坏。