Skip to content

Commit dfda6db

Browse files
authored
[QC-1181] Doc for the common config file (#2496)
1 parent c00b6e0 commit dfda6db

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

doc/Advanced.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,6 +1577,38 @@ should not be present in real configuration files.
15771577
}
15781578
```
15791579

1580+
#### Common configuration in production
1581+
1582+
In production at P2 and in staging, some common items are defined globally in the file `QC/general-config-params`:
1583+
- QCDB
1584+
- monitoring
1585+
- consul
1586+
- conditionDB
1587+
- bookkeeping
1588+
-
1589+
It is mandatory to use them by including the file:
1590+
```
1591+
"config": {
1592+
{% include "QC/general-config-params" %}
1593+
},
1594+
```
1595+
1596+
Other configuration items can still be added in your files as such (note the comma after the inclusion) :
1597+
```
1598+
"config": {
1599+
{% include "QC/general-config-params" %},
1600+
"infologger": {
1601+
"filterDiscardDebug": "false",
1602+
"filterDiscardLevel": "22"
1603+
},
1604+
"postprocessing": {
1605+
"matchAnyRunNumber": "true"
1606+
}
1607+
},
1608+
```
1609+
1610+
Please, do not use `Activity` in production !
1611+
15801612
### QC Tasks configuration
15811613

15821614
Below the full QC Task configuration structure is described. Note that more than one task might be declared inside in

0 commit comments

Comments
 (0)