-
-
Save kszarek/23988867c03949102e704a5e9dd15b78 to your computer and use it in GitHub Desktop.
Whisper / storage-schemas.conf changing retention time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /var/lib/graphite/whisper/staging/ -type f -name '*.wsp' -exec /root/whisper-migrate {} \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
whisper-resize --nobackup $1 10s:1d 1m:14d 5m:30d 10m:90d 20m:3y | |
chown -R _graphite:_graphite $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After PR: https://github.com/AirHelp/ah-cookbooks-monitoring/pull/301