Created
August 29, 2014 14:32
-
-
Save XANi/b22ad3d1174bdc851281 to your computer and use it in GitHub Desktop.
shardspace.json
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
{ | |
"spaces": [ | |
{ | |
"name": "short_term", | |
"retentionPolicy": "30d", | |
"shardDuration": "1d", | |
"regex": "/^.*/", | |
"replicationFactor": 2, | |
"split": 1 | |
}, | |
{ | |
"name": "long_term", | |
"retentionPolicy": "inf", | |
"shardDuration": "7d", | |
"regex": "/^10m.*/", | |
"replicationFactor": 2, | |
"split": 1 | |
} | |
], | |
"continuousQueries": [ | |
"select mean(value) as value, percentile(value, 95) as pct_95, min(value) as min, max(value) as max, stddev(value) as stddev from /^[a-zA-Z].*/ group by time(10m) into 10m.:series_name" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment