forked from AliceO2Group/QualityControl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadvanced.json
109 lines (109 loc) · 2.66 KB
/
advanced.json
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
{
"qc": {
"config": {
"database": {
"implementation": "CCDB",
"host": "ccdb-test.cern.ch:8080",
"username": "not_applicable",
"password": "not_applicable",
"name": "not_applicable"
},
"Activity": {
"number": "42",
"type": "2"
},
"monitoring": {
"url": "infologger:///debug?qc"
},
"consul": {
"url": "http://consul-test.cern.ch:8500"
},
"conditionDB": {
"url": "ccdb-test.cern.ch:8080"
}
},
"tasks": {
"dataSizeTask": {
"active": "true",
"className": "o2::quality_control_modules::skeleton::SkeletonTask",
"moduleName": "QcSkeleton",
"detectorName": "TST",
"cycleDurationSeconds": "10",
"maxNumberCycles": "-1",
"dataSource": {
"type": "dataSamplingPolicy",
"name": "tst2"
},
"location": "remote"
},
"someNumbersTask": {
"active": "true",
"className": "o2::quality_control_modules::skeleton::SkeletonTask",
"moduleName": "QcSkeleton",
"cycleDurationSeconds": "10",
"maxNumberCycles": "-1",
"dataSource": {
"type": "dataSamplingPolicy",
"name": "tst1"
},
"location": "remote"
}
},
"checks": {
"dataSizeCheck": {
"active": "true",
"className": "o2::quality_control_modules::skeleton::SkeletonCheck",
"moduleName": "QcSkeleton",
"policy": "OnAny",
"detectorName": "TST",
"dataSource": [{
"type": "Task",
"name": "dataSizeTask",
"MOs": ["example"]
}]
},
"someNumbersCheck": {
"active": "true",
"className": "o2::quality_control_modules::skeleton::SkeletonCheck",
"moduleName": "QcSkeleton",
"policy": "OnAny",
"detectorName": "TST",
"dataSource": [{
"type": "Task",
"name": "someNumbersTask",
"MOs": ["example"]
}]
}
}
},
"dataSamplingPolicies": [
{
"id": "tst1",
"active": "true",
"machines": [],
"query" : "sum:TST/SUM/2;param:TST/PARAM/2",
"samplingConditions": [
{
"condition": "random",
"fraction": "0.1",
"seed": "32112332123"
}
],
"blocking": "false"
},
{
"id": "tst2",
"active": "true",
"machines": [],
"query" : "data:TST/DATA",
"samplingConditions": [
{
"condition": "payloadSize",
"lowerLimit": "8000",
"upperLimit": "10000"
}
],
"blocking": "false"
}
]
}