Skip to content

Commit 2395ce1

Browse files
committed
[roc-pkt-mon] Add CRORC support
1 parent 6835427 commit 2395ce1

File tree

9 files changed

+264
-119
lines changed

9 files changed

+264
-119
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,25 @@ Parameter information can be extracted from the monitoring table below.
413413
414414
To directly send metrics to the Alice O2 Monitoring library, the argument `--monitoring` is necessary.
415415
416+
##### CRORC
417+
418+
###### Metric: `"link"`
419+
420+
| Value name | Value | Type |
421+
| ----------------------- | ------ | ------ |
422+
| `"pciAddress"` | - | string |
423+
| `"serial"` | - | int |
424+
| `"acquisitionRate"` | - | int |
425+
| `"packetsReceived"` | - | int |
426+
427+
| Tag key | Value |
428+
| ------------------ | -------------------- |
429+
| `tags::Key::CRORC` | ID of the CRORC |
430+
| `tags::Key::ID` | ID of the link |
431+
| `tags::Key::Type` | `tags::Value::CRORC` |
432+
433+
##### CRU
434+
416435
###### Metric: `"link"`
417436
418437
| Value name | Value | Type |
@@ -430,7 +449,7 @@ To directly send metrics to the Alice O2 Monitoring library, the argument `--mon
430449
| `tags::Key::ID` | ID of the link |
431450
| `tags::Key::Type` | `tags::Value::CRU` |
432451
433-
##### Metric: `"wrapper"`
452+
###### `Metric: `"wrapper"`
434453
435454
| Value name | Value | Type |
436455
| -------------------------- | ------ | ------ |
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"links": {
3+
"0": {
4+
"linkId": "0",
5+
"acquisitionRate": "0",
6+
"packetsReceived": "0"
7+
},
8+
"1": {
9+
"linkId": "1",
10+
"acquisitionRate": "0",
11+
"packetsReceived": "0"
12+
},
13+
"2": {
14+
"linkId": "2",
15+
"acquisitionRate": "0",
16+
"packetsReceived": "0"
17+
},
18+
"3": {
19+
"linkId": "3",
20+
"acquisitionRate": "0",
21+
"packetsReceived": "0"
22+
},
23+
"4": {
24+
"linkId": "4",
25+
"acquisitionRate": "0",
26+
"packetsReceived": "0"
27+
},
28+
"5": {
29+
"linkId": "5",
30+
"acquisitionRate": "0",
31+
"packetsReceived": "0"
32+
}
33+
}
34+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2020-08-14 13:53:42 InfluxDB backend initialized
2+
link,hostname=flp-kostas.cern.ch,CRORC=0,id=0,type=CRORC pciAddress="d8:00.0",serial=42942i,acquisitionRate=0i,packetsReceived=0i 1597406022865010783
3+
link,hostname=flp-kostas.cern.ch,CRORC=0,id=1,type=CRORC pciAddress="d8:00.0",serial=42942i,acquisitionRate=0i,packetsReceived=0i 1597406023367687305
4+
link,hostname=flp-kostas.cern.ch,CRORC=0,id=2,type=CRORC pciAddress="d8:00.0",serial=42942i,acquisitionRate=0i,packetsReceived=0i 1597406023869886425
5+
link,hostname=flp-kostas.cern.ch,CRORC=0,id=3,type=CRORC pciAddress="d8:00.0",serial=42942i,acquisitionRate=0i,packetsReceived=0i 1597406024372455378
6+
link,hostname=flp-kostas.cern.ch,CRORC=0,id=4,type=CRORC pciAddress="d8:00.0",serial=42942i,acquisitionRate=0i,packetsReceived=0i 1597406024875084974
7+
link,hostname=flp-kostas.cern.ch,CRORC=0,id=5,type=CRORC pciAddress="d8:00.0",serial=42942i,acquisitionRate=0i,packetsReceived=0i 1597406025377332221
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
==================================
2+
Channel ACQ Rate Received
3+
----------------------------------
4+
0 0 0
5+
1 0 0
6+
2 0 0
7+
3 0 0
8+
4 0 0
9+
5 0 0
10+
==================================

0 commit comments

Comments
 (0)