forked from archiver_config/sf_databuffer
created blm and llm policies
This commit is contained in:
103
policies/blm.policies
Normal file
103
policies/blm.policies
Normal file
@@ -0,0 +1,103 @@
|
||||
/* DBLM/DLLM basic configuration for data policy */
|
||||
/* ======================================== */
|
||||
|
||||
/* Change History: */
|
||||
/* */
|
||||
/* OC81, 19.01.2018 */
|
||||
/* The following channels shold be stored for 10 days */
|
||||
/* for example,
|
||||
S10CB04-DBLM240:BASELINE_VAL
|
||||
S10CB04-DBLM240:B1_LOSS
|
||||
S10CB04-DBLM240:B1_LOSS_MPS
|
||||
S10CB04-DBLM240:B1_LOSS_REL_L1
|
||||
S10CB04-DBLM240:B1_LOSS_REL_L
|
||||
S10CB04-DBLM240:B1_LOSS_MPS_REL_L1
|
||||
S10CB04-DBLM240:B1_LOSS_MPS_REL_L2
|
||||
S10CB04-DBLM240:B1_LOSS_MPS_L1
|
||||
S10CB04-DBLM240:B1_LOSS_MPS_L2
|
||||
S10CB04-DBLM240:B2_LOSS
|
||||
S10CB04-DBLM240:B2_LOSS_MPS
|
||||
S10CB04-DBLM240:B2_LOSS_REL_L1
|
||||
S10CB04-DBLM240:B2_LOSS_REL_L2
|
||||
S10CB04-DBLM240:B2_LOSS_MPS_REL_L1
|
||||
S10CB04-DBLM240:B2_LOSS_MPS_REL_L2
|
||||
S10CB04-DBLM240:B2_LOSS_MPS_L1
|
||||
S10CB04-DBLM240:B2_LOSS_MPS_L2
|
||||
*/
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/* - 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": [
|
||||
|
||||
/* OC81, 19.01.2018 */
|
||||
{
|
||||
"pattern":" ^S.*-DBLM.*:BASELINE_VAL$",
|
||||
"data_reduction":{
|
||||
"default":[
|
||||
{
|
||||
"ttl":"P10D",
|
||||
"modulo":1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern":" ^S.*-DBLM.*:LOSS_SIGNAL_RAW$",
|
||||
"data_reduction":{
|
||||
"default":[
|
||||
{
|
||||
"ttl":"P2D",
|
||||
"modulo":1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern":" ^S.*-DBLM.*:B[12]_LOSS$",
|
||||
"data_reduction":{
|
||||
"default":[
|
||||
{
|
||||
"ttl":"P10D",
|
||||
"modulo":1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern":" ^S.*-DBLM.*:B[12]_LOSS_.*$",
|
||||
"data_reduction":{
|
||||
"default":[
|
||||
{
|
||||
"ttl":"P10D",
|
||||
"modulo":1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
95
policies/llm.policies
Normal file
95
policies/llm.policies
Normal file
@@ -0,0 +1,95 @@
|
||||
/* DBLM/DLLM basic configuration for data policy */
|
||||
/* ======================================== */
|
||||
|
||||
/* Change History: */
|
||||
/* */
|
||||
/* OC81, 19.01.2018 */
|
||||
/* The following channels shold be stored for 10 days */
|
||||
/* for example,
|
||||
$DEV:BASELINE_VAL
|
||||
$DEV:CH1_LOSS
|
||||
$DEV:CH#_LOSS_MPS
|
||||
$DEV:CH#_LOSS_REL_L1
|
||||
$DEV:CH#_LOSS_REL_L
|
||||
$DEV:CH#_LOSS_MPS_REL_L1
|
||||
$DEV:CH#_LOSS_MPS_REL_L2
|
||||
$DEV:CH#_LOSS_MPS_L1
|
||||
$DEV:CH#_LOSS_MPS_L2
|
||||
*/
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/* - 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": [
|
||||
|
||||
/* OC81, 19.01.2018 */
|
||||
{
|
||||
"pattern":" ^S.*-DLLM.*:BASELINE_VAL$",
|
||||
"data_reduction":{
|
||||
"default":[
|
||||
{
|
||||
"ttl":"P10D",
|
||||
"modulo":1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern":" ^S.*-DLLM.*:LOSS_SIGNAL_RAW$",
|
||||
"data_reduction":{
|
||||
"default":[
|
||||
{
|
||||
"ttl":"P2D",
|
||||
"modulo":1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern":" ^S.*-DLLM.*:CH.*_LOSS$",
|
||||
"data_reduction":{
|
||||
"default":[
|
||||
{
|
||||
"ttl":"P10D",
|
||||
"modulo":1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern":" ^S.*-DLLM.*:CH.*_LOSS_.*$",
|
||||
"data_reduction":{
|
||||
"default":[
|
||||
{
|
||||
"ttl":"P10D",
|
||||
"modulo":1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user