Created
August 5, 2014 22:00
-
-
Save tmonk42/3b97abdde024586dc772 to your computer and use it in GitHub Desktop.
Test config for influxdb graphite database
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
[ | |
{ | |
"database": "graphite", | |
"spaces": [ | |
{ | |
"name": "raw", | |
"retentionPolicy": "1d", | |
"shardDuration": "1h", | |
"regex": "/.*/", | |
"replicationFactor": 2, | |
"split": 3 | |
}, | |
{ | |
"name": "1m", | |
"retentionPolicy": "7d", | |
"shardDuration": "1d", | |
"regex": "/^1m.[a-zA-Z_]/", | |
"replicationFactor": 2, | |
"split": 3 | |
}, | |
{ | |
"name": "5m", | |
"retentionPolicy": "400d", | |
"shardDuration": "4d", | |
"regex": "/^5m.[a-zA-Z_]/", | |
"replicationFactor": 2, | |
"split": 3 | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"continuousQueries": [
"select mean(value) as value from /^vmstats./ group by time(1m) into 1m.:series_name",
"select mean(value) as value from /^vmstats./ group by time(5m) into 5m.:series_name"
]