@@ -390,18 +390,18 @@ To directly send metrics to the Alice O2 Monitoring library, the argument `--mon
390390| Value name | Value | type |
391391| ------------------------- | ----- | ------ |
392392| `"pciAddress"` | - | string |
393- | `"serial"` | - | int |
394- | `"endpoint"` | - | int |
395393| `"temperature"` | - | double |
396394| `"droppedPackets"` | - | int |
397395| `"ctpClock"` | - | double |
398396| `"localClock"` | - | double |
399397| `"totalPacketsPerSecond"` | - | int |
400398
401- | Tag key | Value |
402- | ------------------ | ---------------- |
403- | `tags::Key::ID` | ID of the card |
404- | `tags::Key::Type` | Type of the card |
399+ | Tag key | Value |
400+ | --------------------- | --------------------- |
401+ | `tags::Key::SerialId` | Serial ID of the card |
402+ | `tags::Key::Endpoint` | Endpoint of the card |
403+ | `tags::Key::ID` | ID of the card |
404+ | `tags::Key::Type` | Type of the card |
405405
406406### roc-pkt-monitor
407407Monitors packet statistics per link and per CRU wrapper. Output may be in an ASCII table (default) or in JSON (`json-out` option)
@@ -420,15 +420,15 @@ To directly send metrics to the Alice O2 Monitoring library, the argument `--mon
420420| Value name | Value | Type |
421421| ----------------------- | ------ | ------ |
422422| `"pciAddress"` | - | string |
423- | `"serial"` | - | int |
424423| `"acquisitionRate"` | - | int |
425424| `"packetsReceived"` | - | int |
426425
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` |
426+ | Tag key | Value |
427+ | --------------------- | --------------------- |
428+ | `tags::Key::SerialId` | Serial ID of the card |
429+ | `tags::Key::CRORC` | ID of the CRORC |
430+ | `tags::Key::ID` | ID of the link |
431+ | `tags::Key::Type` | `tags::Value::CRORC` |
432432
433433##### CRU
434434
@@ -437,34 +437,34 @@ To directly send metrics to the Alice O2 Monitoring library, the argument `--mon
437437| Value name | Value | Type |
438438| ---------------- | ------ | ------ |
439439| `"pciAddress"` | - | string |
440- | `"serial"` | - | int |
441- | `"endpoint"` | - | int |
442440| `"accepted"` | - | int |
443441| `"rejected"` | - | int |
444442| `"forced"` | - | int |
445443
446- | Tag key | Value |
447- | ------------------ | -------------------- |
448- | `tags::Key::CRU` | ID of the CRU |
449- | `tags::Key::ID` | ID of the link |
450- | `tags::Key::Type` | `tags::Value::CRU` |
444+ | Tag key | Value |
445+ | --------------------- | --------------------- |
446+ | `tags::Key::SerialId` | Serial ID of the card |
447+ | `tags::Key::Endpoint` | Endpoint of the card |
448+ | `tags::Key::CRU` | ID of the CRU |
449+ | `tags::Key::ID` | ID of the link |
450+ | `tags::Key::Type` | `tags::Value::CRU` |
451451
452452###### `Metric: `"wrapper"`
453453
454454| Value name | Value | Type |
455455| -------------------------- | ------ | ------ |
456456| `"pciAddress"` | - | string |
457- | `"serial"` | - | int |
458- | `"endpoint"` | - | int |
459457| `"dropped"` | - | int |
460458| `"totalPacketsPerSec"` | - | int |
461459| `"forced"` | - | int |
462460
463- | Tag key | Value |
464- | ------------------ | -------------------- |
465- | `tags::Key::CRU` | ID of the CRU |
466- | `tags::Key::ID` | ID of the wrapper |
467- | `tags::Key::Type` | `tags::Value::CRU` |
461+ | Tag key | Value |
462+ | --------------------- | --------------------- |
463+ | `tags::Key::SerialId` | Serial ID of the card |
464+ | `tags::Key::Endpoint` | Endpoint of the card |
465+ | `tags::Key::CRU` | ID of the CRU |
466+ | `tags::Key::ID` | ID of the link |
467+ | `tags::Key::Type` | `tags::Value::CRU` |
468468
469469### roc-reg-[read, read-range, write]
470470Writes and reads registers to/from a card's BAR.
@@ -502,31 +502,31 @@ metric format for the CRORC and the CRU is different, as different parameters ar
502502| Value name | Value | Type |
503503| ---------------------- | ------------------------ | ------ |
504504| `"pciAddress"` | - | string |
505- | `"serial"` | - | int |
506505| `"qsfp"` | 0/1 (Disabled/Enabled) | int |
507506| `"dynamicOffset"` | 0/1 (Disabled/Enabled) | int |
508507| `"timeFrameDetection"` | 0/1 (Disabled/Enabled) | int |
509508| `"timeFrameLength"` | - | int |
510509
511- | Tag key | Value |
512- | ----------------- | -------------------- |
513- | `tags::Key::ID` | ID of the card |
514- | `tags::Key::Type` | `tags::Value::CRORC` |
510+ | Tag key | Value |
511+ | --------------------- | --------------------- |
512+ | `tags::Key::SerialId` | Serial ID of the card |
513+ | `tags::Key::ID` | ID of the card |
514+ | `tags::Key::Type` | `tags::Value::CRORC` |
515515
516516###### Metric: `"link"`
517517
518518| Value name | Value | Type |
519519| ---------------- | -------------- | ------ |
520520| `"pciAddress"` | - | string |
521- | `"serial"` | - | int |
522521| `"status"` | 0/1 (DOWN/UP) | int |
523522| `"opticalPower"` | - | double |
524523
525- | Tag key | Value |
526- | ------------------ | -------------------- |
527- | `tags::Key::CRORC` | ID of the CRORC |
528- | `tags::Key::ID` | ID of the link |
529- | `tags::Key::Type` | `tags::Value::CRORC` |
524+ | Tag key | Value |
525+ | --------------------- | --------------------- |
526+ | `tags::Key::SerialId` | Serial ID of the card |
527+ | `tags::Key::CRORC` | ID of the CRORC |
528+ | `tags::Key::ID` | ID of the link |
529+ | `tags::Key::Type` | `tags::Value::CRORC` |
530530
531531##### CRU
532532
@@ -535,19 +535,19 @@ metric format for the CRORC and the CRU is different, as different parameters ar
535535| Value name | Value | Type |
536536| --------------------------- | ----------------------- | ------ |
537537| `"pciAddress"` | - | string |
538- | `"serial"` | - | int |
539- | `"endpoint"` | - | int |
540538| `"CRU ID"` | Assigned CRU ID | int |
541539| `"clock"` | "TTC" or "Local" | string |
542540| `"dynamicOffset"` | 0/1 (Disabled/Enabled) | int |
543541| `"userLogic"` | 0/1 (Disabled/Enabled) | int |
544542| `"runStats"` | 0/1 (Disabled/Enabled) | int |
545543| `"commonAndUserLogic"` | 0/1 (Disabled/Enabled) | int |
546544
547- | Tag key | Value |
548- | ----------------- | ------------------ |
549- | `tags::Key::ID` | ID of the card |
550- | `tags::Key::Type` | `tags::Value::CRU` |
545+ | Tag key | Value |
546+ | --------------------- | --------------------- |
547+ | `tags::Key::SerialId` | Serial ID of the card |
548+ | `tags::Key::Endpoint` | Endpoint of the card |
549+ | `tags::Key::ID` | ID of the card |
550+ | `tags::Key::Type` | `tags::Value::CRU` |
551551
552552###### Metric: `"onu"`
553553
@@ -570,8 +570,6 @@ metric format for the CRORC and the CRU is different, as different parameters ar
570570| Value name | Value | Type |
571571| ---------------- | ----------------------------------------------------------------- | ------ |
572572| `"pciAddress"` | - | string |
573- | `"serial"` | - | int |
574- | `"endpoint"` | - | int |
575573| `"gbtMode"` | "GBT/GBT" or "GBT/WB" | string |
576574| `"loopback"` | 0/1 (Enabled/Disabled) | int |
577575| `"gbtMux"` | "DDG", "SWT", "TTC:CTP", "TTC:PATTERN", "TTC:MIDTRG", or "TTCUP" | string |
@@ -582,11 +580,13 @@ metric format for the CRORC and the CRU is different, as different parameters ar
582580| `"status"` | 0/1/2 (DOWN/UP/UP was DOWN) | int |
583581| `"opticalPower"` | - | double |
584582
585- | Tag key | Value |
586- | ----------------- | ------------------ |
587- | `tags::Key::CRU` | ID of the CRU |
588- | `tags::Key::ID` | ID of the link |
589- | `tags::Key::Type` | `tags::Value::CRU` |
583+ | Tag key | Value |
584+ | --------------------- | --------------------- |
585+ | `tags::Key::SerialId` | Serial ID of the card |
586+ | `tags::Key::Endpoint` | Endpoint of the card |
587+ | `tags::Key::CRU` | ID of the CRU |
588+ | `tags::Key::ID` | ID of the link |
589+ | `tags::Key::Type` | `tags::Value::CRU` |
590590
591591Exceptions
592592-------------------
0 commit comments