Streaming Telemetry

Slide Note

Explore the power of streaming telemetry and the motivation to move away from SNMP. Improve troubleshooting and problem resolution with better visibility through migration to GRPC Dial Out Telemetry. Pushing more data really does work better!

Uploaded on Dec 23, 2023 | 1 Views

Streaming Telemetry

PowerPoint presentation about 'Streaming Telemetry'. This presentation describes the topic on Explore the power of streaming telemetry and the motivation to move away from SNMP. Improve troubleshooting and problem resolution with better visibility through migration to GRPC Dial Out Telemetry. Pushing more data really does work better!. Download this presentation absolutely free.

Presentation Transcript

  1. Streaming Telemetry Not everything that can be counted counts and not everything that counts can be counted

  2. Hidden Agenda In this session we will: -> Drive your motivation to kill SNMP!

  3. Motivation How do you monitor your Network? If this is a picture of your NOC personnel You may have a Finger-Defined Network.

  4. Why Change For us, personally: Switches logs full of messages: %SNMP-3-RESPONSE_DELAYED: processing GetNext of entSensorType (150023 msecs) , too many SNMP collectors Routers: Change of default values in control-plane policies to accommodate the rate of snmp requests Inability to fetch important data in equipment's, ie: evpn/perf-meas Short spaced glitches where very hard to see Plan in motion to: -> Improve visibility to help troubleshoot = faster problem resolution

  5. Pushing More Data Really Does Work Better

  6. Migrating from SNMP to GRPC Dial Out Telemetry

  7. Quick reminder: SNMP framework

  8. Version TLDR: Too Long Didnt Read YANG Language Defined in 2010 by RFC 6020 by Tail-f s Martin Bjorklund, to provide a modeling language for NETCONF expanded beyond Human readable, easy to learn representation compact C and Java-like syntax Hierarchical models with reusable types and groupings Supports definition of operations (RPCs) Constraints and configuration validation Well-defined version rules How to configure Model: Cisco-IOS-XE-interfaces-oper.yang Xpath/Sensor: /interfaces-ios-xe-oper:interfaces/interface/interface-type

  9. Version TLDR: Too Long Didnt Read Icinga Anycast IP Telegraph (Collector) InfluxDB (TSDB) Grafana Network

  10. Streaming Telemetry Stack

  11. First Things, First: Telemetry Stack So, what is all this fuss about Streaming Telemetry Real-time data collection and transmission for monitoring. Continuous and automated delivery of telemetry data. Faster issue detection and response. Enables historical data analysis. Relies on efficient and reliable protocols. Provides visibility into network and system operations. Optimizes performance, enhances security, ensures reliability. Scream Stream If You Want to Go Faster

  12. Data Model Layer Raw data maped to a model (YANG models: Native, OpenConfig, etc)

  13. YANG Yet Another Next Generation Self-contained top-level hierarchy of nodes Import or define data types Containers group related nodes Lists for sequence of entries Leaf nodes for simple data

  14. YANG Yet Another Next Generation Native Models OpenConfig Models Aaaa, and IETF too . In the present day, a router has about 1300 Native models and 100 OpenConfig models

  15. Configuration vs Operational

  16. Wheres Wally? A complete guide on how to find Xpath sensor path s in the correct yang model 101: Google it GPT it Yangsuite Github Pyang CLI based commands

  17. Producer Layer Time intervals definitions for the models

  18. Publication options On-change Periodic Time based publications Event notifications (failed login, optics fault, etc) Minimum interval 1s State and Configuration

  19. Telemetry Taxonomy Model-Driven Telemetry Event-Driven Telemetry Router X Router X 100 Interfaces UP/ 0 Down 100 Interfaces UP/ 0 Down 100 Interfaces UP/ 0 Down Time Time Time Time 100 Interfaces UP/ 0 Down 99 Interfaces UP/ 1 Down 99 Interfaces UP/ 1 Down 99 Interfaces UP/ 1 Down

  20. Points of Consideration - Equipment's ALERTING What sensors/instrumentation are supported? What is max/min frequency of export? Can it be exported by event (on-change)? COLLECTOR What is the most-specific branch needed to export? VISUALIZATION DATABASE NETWORK

  21. Exporter Layer Encoding and transportation for the models gNMI gRPC NETCONF It s all about the APIs RESTCONF Get it!? Apey Eyes SNMP CLI

  22. MDT Modes, Dial-In vs Dial-Out Dial-out Dial-in Broader flexibility in transport options A single channel (config and streaming) No need to open ports for inbound management traffic Listening port on the router No MDT configuration on the router Anycast & Load-balancing Only gRPC/gNMI available

  23. The State of Monitoring/Operations

  24. Transport: Google Remote Procedure Call (gRPC) A modern opensource high performance RPC framework Provides push or pull methods to obtain metrics Highly efficient on wire and with a simple service definition framework Device to collector PUSH method is one-way and efficient Collector to Device PULL method is like SNMP poll-response; less-efficient, but less configuration management. Bi-directional streaming with http/2 based transport also providing TLS support

  25. Encoding Options Compact GPB Key-Value GPB JSON Encoding (or serialization ) translates data (objects, state) into a format that can be transmitted across the network. When the receiver decodes ( de- serializes ) the data, it has an semantically identical copy of the original data. From Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data think XML, but smaller, faster, and simpler. { "node-name: 0/RP0/CPU0 , process-cpu : { { total-cpu-fifteen-minute : 5, total-cpu-five-minute : 6, total-cpu-one-minute : 12 }}} 1: 0/RP0/CPU0 10: 5 11: 6 12: 12 Compact Self-describing Faster to transfer less data More data to transfer More complex to correlate


  27. Summary And Key Messages We must change the way we operate networks Automation and programmability are required this days On board management for support, complexity is everywhere nowadays Data Mode-driven is required for configuration, hence model-driven telemetry YANG is the data modeling language for configuration and monitoring Be specific with what you want to push Use OpenConfig models, for consistency, when possible TLDR: use gRPC, dial out, with Key Value protobuf Use Event-driven telemetry when appropriate

  28. Analytics Layer Data collection, processing and visualization

  29. Is the infrastructure ready? Per Process Load DRAM Utilization Disk Network Bandwidth Utilization

  30. Is the infrastructure ready? Per Process Load DRAM Utilization Disk Network Bandwidth Utilization ~1GB Space per hour ~2vCPU CPU E5-2697 v3 @2.60Hz ~1.2GB DDR4 / 2133Mhz ~75Mbps ~90MBps SM1625 800GB 6G 2.5 SAS SSD One Router 350k counters / 5 sec.

  31. Analytics Stack NETWORK


  33. Analytics Stack

  34. Analytics Stack Open-source data collection agent Supports a wide range of input plugins for gathering data from various sources Ideal for handling high-frequency data streams Excels at collecting metrics from systems, sensors, and applications in real-time Can process input data before storing it into a database Allows the collection of metrics from multiple vendors and models

  35. Analytics Stack

  36. Analytics Stack Time series database that specializes in storing and querying time-stamped data Handles high ingest rates and frequent data updates associated with streaming telemetry Flexible schema that enables adding and modifying measurements on the fly without disrupting data ingestion Using version 2 is strongly recommended, as its new query language is much more versatile

  37. Analytics Stack

  38. Analytics Stack Data visualization and analytics tool that integrates seamlessly with InfluxDB Provides a user-friendly interface for creating interactive dashboards and exploring time series data Allows monitoring, analyzing, and presenting streaming telemetry data effectively

  39. Visualization

  40. Use Case: Perf-Meas

  41. Segment Routing Stack

  42. Performance Measurement Query's sent every 1s (default 3s) Probes completed after 10 query's Timestamps added in hardware PM Query format: RFC 5357 (TWAMP) or RFC 6374 (MPLS) Extracted values: Max, Min, Average, Variance, Query's sent/received Measurement mode: Probes type: One-Way (T2-T1) Interface TX Timestamp T1 TX Timestamp T2 PM Query Packet Two-Way (T4-T1) Endpoint 1 2 Loopback PM Response Packet SR-TE TX Timestamp T4 TX Timestamp T3

  43. Performance Measurement Porto DC 1 Porto DC 2 Guarda Coimbra Castelo Branco Entroncamento Lisboa DC 1 Lisboa DC 2 Evora

  44. Data Pushed with Streaming Telemetry

  45. Lisbon-Porto Litoral vs Beiras

  46. Last Mile per Hop Data: OReally?

  47. But Wait Theres more o.O If SR-TE handles Minimum delay (propagation delay): Minimum delay provides the propagation delay (Fiber length / speed of light) A property of the topology (with awareness of DWDM circuit change) SR-TE (SR Policy or Flex-Algo) can optimize on min delay And SR IGP Flexible Algorithms (Flex-Algo) can: Make a algorithm defined by the operator, on a per-deployment basis Flex-Algo K is then defined as: Algo 0 The minimization of a specified metric: IGP, TE or delay So we can have a dual planar network!! Stay tuned for 2024! Algo 128

  48. Try It Yourself Demo

  49. Try it! No, Really Try it!! TIG MDT Docker Container Separate Container Yang Suite Grafana Visualization Telegraf Collector InfluxDB Storage HTTP Port 8480 gRPC Server Port 57500 gNMI Configuration Port 8086 HTTP Port 3000

  50. Thank You! FCT|FCCN Network Services Area Jo o Silva Gon alo Lopes Over and Out!

More Related Content