Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions doc/high-frequency-telemetry/high-frequency-telemetry-hld.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,13 @@ In the context of AI scenarios, we are encountering challenges with switches tha
- The vendor SDK should support querying the minimal polling interval for each counter.
- When reconfiguring any high frequency telemetry settings, whether it is the polling interval or the stats list, the existing high frequency telemetry will be interrupted and regenerated.
- If any of monitored objects is deleted, the existing high frequency telemetry will be interrupted and regenerated.
- The collector is designed to handle single-cycle counter rollovers; however, vendors must ensure that the data does not roll over twice between two collection intervals.

### 5.2. Phase 2

- Replace the existing solution by integrating the new high-frequency telemetry architecture into the Counter DB, ensuring compatibility with the current system and ecosystem.
- Supports updating configuration without interrupting the stream of high frequency telemetry
- Support stats of tam telemetry for debugging purpose

## 6. Architecture Design

Expand Down Expand Up @@ -167,15 +169,17 @@ flowchart LR
swss_act((Swss actor: Handle swss message))
netlink_act((Netlink actor: Receive netlink message from kernel))
ipfix_act((Ipfix actor: Handle IPFix message))
harmonize_act((Harmonize actor: Unifies sampling and handles data rollover))
cdb_act((Counter DB actor: Store counters to counter DB))
otel_act((OpenTelemetry actor: Send counters to OpenTelemetry collector))
cdb[(Counter DB)]
otel(((OpenTelemetry Collector)))

swss_act -- IPFix Template --> ipfix_act
netlink_act -- IPFix Record --> ipfix_act
ipfix_act -- Counters --> cdb_act
ipfix_act -- Counters --> otel_act
ipfix_act -- Counters --> harmonize_act
harmonize_act -- Counters --> cdb_act
harmonize_act -- Counters --> otel_act
cdb_act -- ObjectID-Counters Pair --> cdb
cdb -. Lazy load: COUNTERS_*_MAP(ObjectID-Name Map) .-> cdb_act
otel_act -- OpenTelemetry Message --> otel
Expand Down
820 changes: 816 additions & 4 deletions doc/high-frequency-telemetry/netlink_dma_channel.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.