Event-Driven MDT
Configure MDT as follows:
Use event-driven MDT so that data is only sent to the collector upon a change.
Use the following query in Grafana:
Answer
Explanation
Event-driven telemetry can be more optimal than timer-based MDT. With event-drive telemetry, data is only sent to the collector upon a change.
There seems to be a limited number of sensor-paths that can use event-driven telemetry. For example, I first tried to do this with the previous ISIS RIB path, but it didn’t work. I found this slide which appears to indicate that it only works for certain paths.
To configure event-driven telemetry, you simply set the sample-interval to 0.
We also have the below optional knob:
This appears to mean that only when the configured leaves in the sensor path have a change (i.e. Gi0/0/0/0.100), the data will stream. Not when any leaf in the path has a change.
The documentation also now differentiates between timer-based and event-based streaming by calling timer-based streaming “candence-driven telemetry.”
Note that I was not able to get this to work reliably. Perhaps it is a limitation with XRv9K and XRd. I only got one data point when I committed the config, and nothing else. Later I added the “include” knob and got another data point, but again nothing else after that.
Last updated