-
-
Save shaharke/6ef12863c3c22b86f7f7a305ef3e162d to your computer and use it in GitHub Desktop.
Example (untested) of tracking maximum value of metric in the past year.
This file contains 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
Ref: http://graphite.readthedocs.io/en/latest/config-carbon.html#storage-schemas-conf | |
storage-schemas.conf: | |
[year_max] | |
pattern = yearMax$ | |
retentions = 1m:1d,1d:1y | |
storage-aggregation.conf: | |
[year_max] | |
pattern = yearMax$ | |
xFileFactor = 0 | |
aggregationMethod = max |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment