When setting up graphite I accidentally set the retention to 1800 days not 180 days.
'10s:6h,10min:1800d'
From what I understand changing the retention now won't clean up the old data. I am unsure of how todo this without destroying all the data we have and starting agin.
There are three main methods for sending data to Graphite: Plaintext, Pickle, and AMQP. It's worth noting that data sent to Graphite is actually sent to the Carbon and Carbon-Relay, which then manage the data. The Graphite web interface reads this data back out, either from cache or straight off disk.
graphite, also called plumbago or black lead, mineral consisting of carbon. Graphite has a layered structure that consists of rings of six carbon atoms arranged in widely spaced horizontal sheets.
Graphite-API is an alternative to Graphite-web, without any built-in dashboard. Its role is solely to fetch metrics from a time-series database (whisper, cyanite, etc.) and rendering graphs or JSON data out of these time series. It is meant to be consumed by any of the numerous Graphite dashboard applications.
You have to user the whisper-resize.py command. Note that every metric is saved in a .wsp
file, so if you want to change the retention policy of all metrics you will have to use a command along the lines of this gist:
find ./ -type f -name '*.wsp' -exec whisper-resize.py --nobackup {} 10s:6h 10min:180d \;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With