You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
6) Consider reducing the size and number of the biggest histogram. Consider disabling histograms which will not be useful for async QC (no allocations, no startPublishing).
738
739
740
+
## Monitoring
741
+
742
+
The QC uses the [O2 Monitoring](https://github.com/AliceO2Group/Monitoring/) library to monitor metrics.
743
+
The user code has access to an instance of the Monitoring via the variable `mMonitoring`.
744
+
It can be used this way:
745
+
```
746
+
mMonitoring->send({ 42, "my/metric" }); // send the value 42 keyed with "my/metric"
747
+
```
748
+
By default the Monitoring will be printed in the terminal. If a proper Monitoring system
749
+
is setup, one can update the monitoring url in the config file to point to it.
750
+
751
+
---
752
+
739
753
[← Go back to Post-Processing](PostProcessing.md) | [↑ Go to the Table of Content ↑](../README.md) | [Continue to Configuration →](Configuration.md)
Copy file name to clipboardExpand all lines: doc/Miscellaneous.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,6 @@ Miscellaneous
21
21
*[Readout data format as received by the Task](#readout-data-format-as-received-by-the-task)
22
22
<!--te-->
23
23
24
-
[← Go back to Post-processing](PostProcessing.md) | [↑ Go to the Table of Content ↑](../README.md) | [Continue to Frequently Asked Questions →](FAQ.md)
Copy file name to clipboardExpand all lines: doc/PostProcessing.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,6 @@
17
17
*[More examples](#more-examples)
18
18
<!--te-->
19
19
20
-
[← Go back to Modules Development](ModulesDevelopment.md) | [↑ Go to the Table of Content ↑](../README.md) | [Continue to Advanced Topics →](Advanced.md)
21
-
22
20
## The post-processing framework
23
21
24
22
This framework is intended for planned post-processing of objects generated by QC Tasks, Checks and correlating them with other data. The most common use-cases include correlation and trending of different properties of the detectors.
@@ -1153,4 +1151,4 @@ Use the Activity which leaves the run number empty, but indicate the pass and pe
1153
1151
}
1154
1152
```
1155
1153
1156
-
[← Go back to Modules Development](ModulesDevelopment.md) | [↑ Go to the Table of Content ↑](../README.md) | [Continue to Framework →](Framework.md)
1154
+
[← Go back to Framework](Framework.md) | [↑ Go to the Table of Content ↑](../README.md) | [Continue to Configuration →](Configuration.md)
The MonitorObjects generated by Quality Control are stored in a dedicated repository (QCDB), which is based on CCDB.
13
-
The run conditions, on the other hand, are located in another, separate database.
72
+
## Accessing objects in CCDB
14
73
15
-
The recommended way (excluding postprocessing) to access these conditions is to use a `Lifetime::Condition` DPL input, which can be requested as in the query below:
74
+
The recommended way (excluding postprocessing) to access the run conditions in the _CCDB_ is to use a `Lifetime::Condition` DPL input, which can be requested as in the query below:
16
75
17
76
```json
18
77
"tasks": {
@@ -26,9 +85,9 @@ The recommended way (excluding postprocessing) to access these conditions is to
26
85
},
27
86
```
28
87
29
-
The timestamp of the CCDB object will be aligned with the data timestamp.
88
+
The timestamp of the _CCDB_ object will be aligned with the data timestamp.
30
89
31
-
If a task needs both sampled input and a CCDB object, it is advised to use two data sources as such:
90
+
If a task needs both sampled input and a _CCDB_ object, it is advised to use two data sources as such:
32
91
33
92
```json
34
93
"tasks": {
@@ -45,7 +104,7 @@ If a task needs both sampled input and a CCDB object, it is advised to use two d
45
104
},
46
105
```
47
106
48
-
The requested CCDB object can be accessed like any other DPL input in `monitorData`:
107
+
The requested _CCDB_ object can be accessed like any other DPL input in `monitorData`:
The quality is stored as a CCDB metadata of the object.
156
-
157
-
### Data storage format before v0.14 and ROOT 6.18
158
-
159
-
Before September 2019, objects were serialized with TMessage and stored as _blobs_ in the CCDB. The main drawback was the loss of the corresponding streamer infos leading to problems when the class evolved or when accessing the data outside the QC framework.
160
-
161
-
The QC framework is nevertheless backward compatible and can handle the old and the new storage system.
162
-
163
177
## Local CCDB setup
164
178
165
179
Having a central ccdb for test (ccdb-test) is handy but also means that everyone can access, modify or delete the data. If you prefer to have a local instance of the CCDB, for example in your lab or on your development machine, follow these instructions.
@@ -177,15 +191,8 @@ The address of the CCDB will have to be updated in the Tasks config file.
177
191
178
192
At the moment, the description of the REST api can be found in this document : <https://docs.google.com/presentation/d/1PJ0CVW7QHgnFzi0LELc06V82LFGPgmG3vsmmuurPnUg>
179
193
180
-
## Instructions to move an object in the QCDB
181
-
182
-
The script `o2-qc-repo-move-objects` lets the user move an object, and thus all the versions attached to it. E.g.:
[↑ Go to the Table of Content ↑](../README.md) | [Continue to Modules Development →](ModulesDevelopment.md)
16
-
17
15
## Read this first!
18
16
19
17
This page will give you a basic idea of the QC and how to run it. Please read it *in its entirety* and run the commands along the way. Do not start developing your module before you have reached the next section called "Modules Development". Also, make sure you have pulled the latest QC version.
0 commit comments