forked from AliceO2Group/QualityControl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic-aggregator.json
More file actions
111 lines (111 loc) · 3.26 KB
/
Copy pathbasic-aggregator.json
File metadata and controls
111 lines (111 loc) · 3.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"qc": {
"config": {
"database": {
"implementation": "CCDB",
"host": "localhost:8083",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
},
"Activity": {
"number": "42",
"type": "NONE"
},
"monitoring": {
"url": "infologger:///debug?qc"
},
"consul": {
"url": ""
},
"conditionDB": {
"url": "localhost:8083"
},
"infologger": { "": "Configuration of the Infologger (optional).",
"filterDiscardDebug": "false", "": "Set to 1 to discard debug and trace messages (default: false)",
"filterDiscardLevel": "21", "": "Message at this level or above are discarded (default: 21 - Trace)"
}
},
"tasks": {
"QcTask": {
"active": "true",
"className": "o2::quality_control_modules::skeleton::SkeletonTask",
"moduleName": "QcSkeleton",
"detectorName": "TST",
"cycleDurationSeconds": "10",
"dataSource_comment": "The other type of dataSource is \"direct\", see basic-no-sampling.json.",
"dataSource": {
"type": "dataSamplingPolicy",
"name": "tst-raw"
},
"taskParameters": {
"myOwnKey": "myOwnValue"
},
"location": "remote"
}
},
"checks": {
"QcCheck": {
"active": "true",
"className": "o2::quality_control_modules::skeleton::SkeletonCheck",
"moduleName": "QcSkeleton",
"policy": "OnAny",
"detectorName": "TST",
"dataSource": [{
"type": "Task",
"name": "QcTask",
"MOs": ["example"]
}]
},
"QcCheck2": {
"active": "true",
"className": "o2::quality_control_modules::skeleton::SkeletonCheck",
"moduleName": "QcSkeleton",
"policy": "OnEachSeparately",
"detectorName": "TST",
"dataSource": [{
"type": "Task",
"name": "QcTask",
"MOs": ["example"]
}]
}
},
"aggregators": {
"MyAggregator1": {
"active": "true",
"className": "o2::quality_control_modules::skeleton::SkeletonAggregator",
"moduleName": "QcSkeleton",
"policy": "OnAll",
"detectorName": "TST",
"dataSource": [{
"type": "Check", "": "for a check which produces a single result do it like that",
"name": "QcCheck", "": "no need to specify each object because there is only 1"
},
{
"type": "Check", "": "for a check which produces a single result do it like that",
"name": "QcCheck2", "": "no need to specify each object because there is only 1",
"QOs": ["QcTask/example"], "": "also possible to ignore it altogether, meaning we take all objects"
}],
"aggregatorParameters": {
"myOwnKey": "myOwnValue"
}
}
}
},
"dataSamplingPolicies": [
{
"id": "tst-raw",
"active": "true",
"machines": [],
"query": "data:TST/RAWDATA/0",
"samplingConditions": [
{
"condition": "random",
"fraction": "0.1",
"seed": "1234"
}
],
"blocking": "false"
}
]
}