From c522956254ed54c8a7c159626a3e07b2dbd4c8cd Mon Sep 17 00:00:00 2001 From: ebner Date: Thu, 29 Jun 2017 16:22:24 +0200 Subject: [PATCH] Add policy for beam ok channel - basically we should keep it forever --- policies/timing.policies | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 policies/timing.policies diff --git a/policies/timing.policies b/policies/timing.policies new file mode 100644 index 0000000..71093f4 --- /dev/null +++ b/policies/timing.policies @@ -0,0 +1,52 @@ +/* Timing data policy */ +/* ======================================== */ + + +/* ------------------------------------------------------------ */ +/* - override settings - */ +/* - - */ +/* - Each default setting will be overridden, when a better - */ +/* - match (exacter match) is made. It is independant of the - */ +/* - sequence in this configuration file. - */ +/* ------------------------------------------------------------ */ + + +/* +Examples for modulo settings: + "modulo":1 1 point every 10 ms (100 Hz) + "modulo":100 1 point every 1 second + "modulo":60000 1 point every 10 minutes + "modulo":3600000 1 point every 1 hour + +Examples for ttl settings: + PT1M 1 minute + PT2H 2 hours + P1D 1 day + P2W 2 weeks + P1M 1 month +*/ + + + + + +{ + "policies": [ +{ + "pattern":":BEAMOK", + "data_reduction":{ + "default":[ + { + "ttl":"P10Y", + "modulo":1 + /* 1 point every 1 hour */ + } + ] + } +} + + + + + ] +}