Custom Telemetry Collection Overview
Juniper Apstra Custom Telemetry Collection is a new feature introduced in Apstra 4.2.0. You can now define new telemetry services for monitoring data for Apstra to analyze. You can also tailor analytics on your data based on your specific business needs.
Previously, adding a telemetry service to collect new data involved substantial development work that required advanced programming and familiarity with the IBA software development kit (SDK).
With the custom telemetry collection, you can do the following:
-
Run the Junos CLI show commands that provides you with the data you want analyzed.
-
Identify the specific key and value to extract from the show command based on its XML output.
-
Create a telemetry collector definition.
-
Create an IBA probe that utilizes the data from the telemetry collector.
Example Use Cases
Here are some examples of what you can do with the custom telemetry collection:
- Monitor various counters (firewall filter match count, IRB interface statistics, and so forth).
- Monitor device health (line card status or other environmental statuses).
- Monitor protocol status or features enabled with configlets (BFD, MACsec, QoS, multicast, OSPF, RPM and so forth).
In the following sections, we'll walk you through the end-to-end workflow of creating your own custom telemetry service. In this walkthrough, we'll monitor BFD sessions as an example.
Let's go!