As i'm using InfluxDB v.0.10 in Laravel project and since I can't use DROP FROM, and DROP SERIES FROM... etc... anymore, i have to create somehow TWO Retention Policies but fro TWO different measurements.
What i have?
measurements
name:
24TEMP
ALLTIME
+ I have points in these measurements every minute
What I need?
- I need Measurement "24TEMP" To delete any point older than 24 hours
-
I need Measurement "ALLTIME" to delete points in that type:
time < 6 months - Not touched
time > 6 months & time < 12 months - be one point per 1h
time < 12 months - be 1 point per 24h (probably mean())