Custom Telemetry Collection Overview
Juniper Apstra Custom Telemetry Collection is a new feature introduced in Apstra 4.2.0. With this feature, you can define new telemetry services for data monitoring and analysis in Apstra. It also allows you to customize analytics according to your business needs. This process simplifies the previously complex task of adding a telemetry service, which required advanced programming and knowledge of the telemetry SDK.
With the custom telemetry collection, you can do the following:
-
Run the Junos CLI show commands that provide 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.
Example Use Cases
Here are some examples of what you can do with the custom telemetry collection. This list
isn't exhaustive. Any show
command on a switch can serve as an example.
-
Monitor various counters (firewall filter match count, IRB interface statistics, and so on).
-
Monitor device power usage and thermal output for capacity planning.
-
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 on).
-
Monitor power usage and thermal output for capacity planning.
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 a device's power usage as an example.
Let's go!