我的石墨耳語數據庫不存儲7天以前的數據。使用whisper-fetch.py
工具,我只能看到1周前的數據(此時應該至少有3周的數據)。我正在使用grafana,statsd,石墨網,碳和耳語。石墨耳語丟失舊數據
其中一個指標的例子被截斷:
stats.counters.api.create_order.pc.chrome
這是我storage-schemas.conf
:
[carbon]
pattern = ^carbon\.
retentions = 10s:6h,1min:90d
[default_1min_for_1day]
pattern = .*
retentions = 10s:6h,1min:6d,10min:5y
這裏是我的storage-aggregation.conf
:
[min]
pattern = \.lower$
xFilesFactor = 0.1
aggregationMethod = min
[max]
pattern = \.upper(_\d+)?$
xFilesFactor = 0.1
aggregationMethod = max
[sum]
pattern = \.sum$
xFilesFactor = 0
aggregationMethod = sum
[count]
pattern = \.count$
xFilesFactor = 0
aggregationMethod = sum
[count_legacy]
pattern = ^stats_counts.*
xFilesFactor = 0
aggregationMethod = sum
[default_average]
pattern = .*
xFilesFactor = 0.3
aggregationMethod = average
你可以使用whisper-info來獲得預期的數據保留嗎? – kamaradclimber