Graphite will only display data for the past 24 hours

前端 未结 1 715
鱼传尺愫
鱼传尺愫 2021-02-20 03:00

Here\'s the display for a stat for the past 24 hours (in Graphite Composer):

\"Past

Here\'s the

相关标签:
1条回答
  • 2021-02-20 03:44

    Well, this is what I get for not pasting the entire configuration. Here's what it actually looked like:

    [carbon]
    pattern = ^carbon\.
    retentions = 60:90d
    
    [default_1min_for_1day]
    pattern = .*
    retentions = 60s:1d
    
    [stats]
    pattern = ^stats.*
    retentions = 10:2160,60:10080,600:262974
    
    [stats_counts]
    pattern = ^stats_counts.*
    retentions = 10:2160,60:10080,600:262974
    

    Of course, the [default_1min_for_1day] section was matching first, ahead of the other two, and so I was only getting data for the past 24 hours. Moving the catch-all to the end of the file seems to have addressed the issue.

    0 讨论(0)
提交回复
热议问题