← Back to team overview

graphite-dev team mailing list archive

Re: [Question #283364]: Bash script not updating

 

Question #283364 on Graphite changed:
https://answers.launchpad.net/graphite/+question/283364

    Status: Open => Answered

Kieran Girvan proposed the following answer:
I had a similar issue and was caused by an incorrectly configured
storage schema.  If you're expecting to send in data once a day, you
should setup a storage schema to match this frequency e.g. if you wanted
to store a single data point each day for one year you're storage schema
would look like this:

[lto.stats_daily_one_year]
pattern = ^lto.stats.*
retentions = 1d:1y

If you do change your storage schema configuration, you'll need to
restart your carbon-cache daemons.  This will ensure any new metrics are
created with the correct storage schema configuration.  In order to
adjust your existing metrics you'll need to use the whisper-resize.py
script:

whisper-resize.py /opt/graphite/storage/whisper/metric/name.wsp 1d:1y

I hope that helps.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.