Owner's Manual for Juniper models including: 5.0 Apstra Intent Based Networking, 5.0, Apstra Intent Based Networking, Intent Based Networking, Based Networking, Networking
13 déc. 2024 — Probes are available as either predefined probes or user-defined (custom) probes. When you deploy a blueprint, some predefined probes are enabled automatically.
File Info : application/pdf, 60 Pages, 4.27MB
DocumentDocumentJuniper Apstra 5.0 Custom Telemetry Collection Guide Published 2024-12-13 RELEASE ii Table of Contents Introduction Apstra Telemetry and Intent-Based Analytics Custom Telemetry Collection Overview Create a Custom Telemetry Collector Step 1. Execute the CLI Command | 9 Step 2. Identify the Keys and Values of Interest from the CLI Output | 12 Step 3. Create a Service Schema | 13 Step 4. Create a Telemetry Collector | 15 Use Custom Telemetry Data in an IBA Probe Types of Processors | 21 Create a Probe | 23 Configure Additional Processors for Anomaly Generation | 28 Verify Your Configuration | 50 Monitor the Health of the Telemetry Service Import and Export Services Export and Import a Service from the Service Registry | 54 Exporting and Importing a Service from the Apstra Flow Dashboard (Recommended) | 56 Summary 1 Introduction Juniper Apstra offers robust automation for data center switching fabrics management. Apstra's IntentBased Networking (IBN) aids in network creation, deployment, operation, and validation. Apstra validates that: · User-supplied inputs are valid. · User inputs align with network constraints. · Expected telemetry outputs are correct in a stable network. · There is no discrepancy between expected and actual telemetry. After deploying your network, Apstra collects and validates telemetry data from managed devices. This data is automatically aggregated and cross-checked against the intended state of each telemetry type, such as interfaces, LLDP, and BGP. This capability, known as Intent-Based Analytics (IBA), provides accurate and relevant data for efficient operations and informed decision-making. Starting with Release 4.2.0, Apstra introduces its Custom Telemetry Collection. This collection enables you to easily configure Apstra to collect new telemetry data from managed devices. Apstra then uses that data in IBA probes to automate knowledge extraction from this raw data through analysis and visualization. This document guides you on IBA fundamentals and creating a custom telemetry service. You'll also learn how to create a new IBA probe for data visualization and analysis. This guide includes a use case example that shows how to: · Define a telemetry service for power metrics collection from managed devices. · Create an IBA probe to monitor, detect, and visualize power consumption. · Store anomaly history in a time-series database. Let's get started! 2 Apstra Telemetry and Intent-Based Analytics IN THIS SECTION What Is Intent-Based Analytics? | 2 Telemetry Services | 3 Auto-Enabled Probes | 4 Predefined Probes Catalog | 4 Custom Probes | 6 What If Apstra Doesn't Collect the Data You're Looking For? | 7 What Is Intent-Based Analytics? Intent-Based Analytics (IBA) extracts knowledge from raw telemetry data, assisting you in monitoring operational status changes in your infrastructure. To configure IBA, select Blueprints from the left navigation menu in the Apstra GUI. Select your blueprint and navigate to the Analytics tab. IBA Probes An IBA probe is a real-time analytics pipeline that enables you to set up conditions of interest (situations to monitor). An IBA probe retrieves data, processes it, and then compares the result against expectations. IBA probes: · Collect different types of telemetry data from managed devices. · Enrich the data with contextual information from the blueprint. 3 · Aggregate and process the raw data into more meaningful data such as average over time, state in time, standard deviation, and so forth. · Raise anomalies when the network deviates from an intended state and streams the anomalies as alerts to external systems, as necessary. Probes are available as either predefined probes or user-defined (custom) probes. When you deploy a blueprint, some predefined probes are enabled automatically. You can enable other predefined probes on-demand from a catalog, as described in the "Predefined Probes Catalog" on page 4. Telemetry Services You can view a list of telemetry services currently activated in your Apstra deployment. Each service represents a different type of data Apstra collects from your managed devices. For each telemetry service, Apstra issues different CLI show commands over the device API to ingest the data utilized in IBA. To view the available telemetry services in the Apstra GUI, from the left navigation menu, select Device > Telemetry > Services 4 NOTE: The raw data that Apstra collects does not appear on the Telemetry Services page. The raw data is only shown and visualized in IBA probes. Auto-Enabled Probes When you deploy a blueprint, several IBA probes are automatically enabled. IBA probes are used to monitor essential information about the managed fabric and generate anomalies when it detects degradations in the device health or fabric performance. To view all existing probes for your blueprint, navigate to the Analytics dashboard, then click the Probes tab. The following probes are enabled by default: Predefined Probes Catalog In addition to auto-enabled probes, you can select predefined probes from a built-in catalog and enable these probes based on your monitoring requirements. 5 Some predefined probes (such as EVPN or Optical Transceivers probes) activate additional services. These probes collect the necessary data from the devices and ingest the data into the probe for analysis. To view all existing probes for your blueprint, navigate to the Analytics dashboard, then click the Probes tab. To access the list of predefined probes, select Instantiate Predefined Probe from the Create Probe drop-down, then click Create. For more information about predefined probes, see Predefined Probes in the Juniper Apstra User Guide. 6 Custom Probes If you have a monitoring use case not addressed by any of the default or predefined probes, you must create a new custom probe. To create a new probe, from the Analytics dashboard, select Probes > Create New Probe. For the probe to be functional, you'll need to add at least one processor. A processor adds data to your probe from one of the existing telemetry services. A pipeline starts when the processor(s) injects the raw data into the pipeline. The raw data is then sent to the processor. For descriptions of the available processors, see "Types of Processors" on page 21. Here is an example of a source processor, whose processor type is Interface Counters. 7 What If Apstra Doesn't Collect the Data You're Looking For? If Apstra did not collect the data you want to monitor, we recommend that you use Apstra's Custom Telemetry Collection feature. To learn about this feature, proceed to the next section "Custom Telemetry Collection Overview" on page 8. 8 Custom Telemetry Collection Overview IN THIS SECTION Example Use Cases | 8 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. 9 Let's go! Create a Custom Telemetry Collector SUMMARY This topic describes the steps required to create a custom telemetry collector. IN THIS SECTION Step 1. Execute the CLI Command | 9 Step 2. Identify the Keys and Values of Interest from the CLI Output | 12 Step 3. Create a Service Schema | 13 Step 4. Create a Telemetry Collector | 15 In this topic, we'll walk you through creating your own custom telemetry service using power-related metrics as an example. Step 1. Execute the CLI Command Starting in Apstra version 4.2.0, you can run CLI show commands for Junos devices directly from the Apstra GUI. Although you can run show commands without opening a CLI session, its primary purpose is to help you create your own custom telemetry collectors. You can execute CLI commands from within a staged or active blueprint (shown in our example), or from the Devices > Managed Devices page. NOTE: Before you get started, identify the CLI command that you want to use for the output values. In this procedure, we're using the show chassis power command as an example. To execute the CLI command: 1. From your deployed blueprint, select Staged > Physical > Topology, then select your Juniper device node. In this example, sp-bl-01 (Leaf). 10 2. In the Selection section that appears in the right panel, on the Device tab, select Execute CLI Command. In the dialog box that opens, select how you want to view the results: Text Mode, XML Mode, or JSON mode. 11 NOTE: The CLI supports only Junos show commands. You cannot run commands that affect the device state, such as request system reboot. For information about the various show commands, see the CLI User Guide for Junos OS. Here is an example of the CLI output in Text Mode. Here is an example of the CLI output in XML Mode. 12 In this example, the output shows the power usage information for the device. This power information is what we'll use to create our telemetry collection service. Step 2. Identify the Keys and Values of Interest from the CLI Output The following steps show you how to use the CLI show command to view the power utilization for your devices. 1. Enter the CLI show command (in this example, show chassis power). 2. Click Execute to view the power utilization information. 13 3. Continue to "Step 3. Create a Service Schema " on page 13. Step 3. Create a Service Schema You must create a service schema to define how you want your data to be structured and stored. A service defines your schema. You can create a service for a schema with a single output value or multiple output values. This procedure shows how to create a schema with multiple output values. To create a service schema: 1. From the left navigation menu in the Apstra GUI, navigate to Analytics > Service Registry, then click Create Service Schema. 2. Define your schema. 14 Specify the Telemetry Keys and Telemetry Values. In Apstra, the telemetry keys and value type are a collection of key-value pairs. · The telemetry key represents the identity of your service, such as Interface_name or Power_Supply_Module . The Value name might be Tx_rate or, for power monitoring, Voltage or Power_Draw. · The value type is the data produced by the telemetry service, which can be a String (text) or a an Integer (whole number). In our example, we've created a service schema that has multiple output values. We specified the PSM (Power Supply Module) as the Service Key and added multiple Service Values for Allocated Capacity, Max_Capacity, State, Thermal_Output, and Used_Capacity. NOTE: For more information about PSM's (also referred to as PEMs), see Managing Power in the Juniper Chassis-Level User Guide. 3. Click Create to finish creating your schema. The new service schema is added to the Service Registry table. 15 Step 4. Create a Telemetry Collector So far, you've defined the data you want to collect and determined how the data will be organized and structured. Our final step is to create a telemetry collector for our service. NOTE: A service is composed of one or multiple collectors. In this example, the service has a single collector. . To create a telemetry collector: 1. From the left navigation pane, navigate to Analytics > Collectors, then click Create Collector. 2. Select the existing service schema you just created (in our example, Power), then click Next. 16 3. Select the platform and devices for your telemetry collection. Defining a mix of these inputs enables you to be very broad or very granular. For example, you might want to collect telemetry just from a specific model or series. a. Select the OS type , either junos or junos-evo. NOTE: If you do not specify the junos_evo collector for Junos OS Evolved devices, the collector uses the corresponding Junos definition. This means if you use the same command between the different devices, you only need to create a single Junos collector definition for that service. If the command resides only on junos_evo, you'll need to create a single collector definition specifically for junos-evo. For more information about junos-evo (also known as Junos OS Evolved), see the Junos OS Evolved documentation. 17 b. Select the OS Variant the device belongs to and determine the CLI schema for a given device. This field accepts multiple entries. If you select multiple entries, the intersection of schemas is used. c. Select the minimum OS Version the device must run for the collector to execute. If you have multiple collector definitions with different OS versions for the same service, the collector automatically chooses the one closest to the version the device is running. d. (Optional) Specify a Model or a regular expression to filter based on a device model or series. The table shows a list of target devices currently managed in Apstra and matches the applied combination of filters. e. Click Next. 4. Execute the CLI command. Use the show command to collect data from the device (in our example, show chassis), then click Execute to load the CLI schema. Click Next. 5. Map the Keys and Value. So far, we've defined the service schema, the target platforms, and the CLI command the custom telemetry collector will execute. Next, we'll map the key(s) and value type we defined in "Step 3. Create a Service Schema " on page 13. a. To map the keys, click Expand All to search for the RPC value you want to map. 18 b. Click Add Mapping to map each value to a key. c. Assign the value to the key. In our example, PSM is the key and state is one of the values. This value is populated based on the dynamic state field returned by the CLI command as shown in XML output below. 19 d. In the Create Telemetry Collector window, search for the state field, then click Add Mapping. e. Map the state field to each value, then click Submit. 6. Validate that the collector is working. a. Click the Advanced option button on the Create Telemetry Collector page. b. Verify that the query and test results match your expected results. 20 Congratulations! You successfully created a collector. NOTE: When you define the integer (number) values for a collector, you might need to enter a value expression for the collector to function. This is because Junos occasionally reports number data as a string. Before the collector can be processed, you must perform a conversion from string to integer on the Apstra side. To define the integer (number) values for a collector, enter int(value) into the Value Expression field, then click Submit. You can also use additional operators as shown in the figure below. Calculating the Thermal_Output, for example, multiplies the used capacity by 3.41. For more information, see Calculating System Thermal Output. 21 Use Custom Telemetry Data in an IBA Probe SUMMARY This topic describes how to configure and use custom telemetry data in an IBA probe. IN THIS SECTION Types of Processors | 21 Create a Probe | 23 Configure Additional Processors for Anomaly Generation | 28 Verify Your Configuration | 50 So far in our walk through, we've created a custom telemetry collector service. This telemetry service specifies the data to gather from your devices. Next, we will ingest this data into IBA probes in your blueprint as described in "Create a Probe" on page 23. Doing this allows Apstra to visualize and analyze the data. Types of Processors An IBA probe, functioning as an analytics pipeline, begins with a source processor. This processor creates data and several outputs without requiring any input. The different types of source processors are described in Table 1 on page 21. You can add more processors in the probe for extra data analytics. This enhances your network's health insights. These extra processors, known as analytical processors, are described in Table 2 on page 23. Analytical processors let you compile, logically process your data, and identify an intended state to detect anomalies. These processors perform calculations such as averages, min/max, and standard deviations. This aggregated data is then compared with expected results to determine if it's within a preset range. Anomalies are only flagged when a specific threshold is surpassed for a certain duration, preventing flags for transient conditions. A Time_In_State processor configuration can achieve this. Table 1: Source Processors Built-in Built-in processors categorize the various processors used to enable services like power monitoring. These processors determine the scope of service activation using a graph query. Extensible Graph 22 Data from IBA probes is ingested by extensible collectors. This data is then collected by processors using a graph query provided by a custom service. Service keys are mapped using graph elements, depending on whether the data type is static or dynamic. This process decides the scope of telemetry collection. · Extensible Service Data Collector The Extensible Service Data collector processes data from custom telemetry services. This processor is ideal for services using custom telemetry collectors. It supports both static series (graph-driven) and dynamic series (collector-driven) telemetry collection. · Generic Service Data Collector The Generic Service Data collector ingests data from "generic" custom telemetry services. Its telemetry collection is graph-driven and only supports static series. Graph processors ingest data from the IBA probes source in the graph database. They do not consume device telemetry data. · Generic Graph Collector The Generic Graph collector collects data from the active graph. The value field expression provides a value for each item in the graph query response. 23 Table 2: Analytical Processors Types of Analytical Processors Analytical Processors · Grouping processors Grouping processors reduce output size compared to input data. · Check processors Check processors examine a particular condition, using Boolean output to identify anomalies. · Periodic processors Periodic processors measure a specific input over a user-determined period. · Arithmetic processors Arithmetic processors carry out operations like arithmetic (subtraction, division), comparison ('greater than', 'less than'), and logical (AND, OR). · Specialized processors Specialized processors use distinct analytics functions to support specific probes. · Miscellaneous processors · Miscellaneous processors, like "Accumulate," store short-term and intermediate data. For detailed descriptions of all types of processors, see Probe Processor (Analytics) in the Juniper Apstra User Guide. Create a Probe Now, we'll create a probe in your deployed blueprint. A probe allows Apstra to gather data from your service. We're using a simple configuration in this scenario to view power information and to create anomaly alerts based on power usage. 24 NOTE: As previously mentioned, an IBA probe, functioning as an analytics pipeline, begins with a source processor. It operates in two modes with the telemetry service: Static and Dynamic series modes. In Static series mode, all keys can be sourced entirely from the graph. Conversely, Dynamic series mode does not require key mapping. In instances where data like power supply isn't modeled in the graph, a probe is created without mapping to the graph. Subsequently, the data ingestion into the IBA pipeline is collector-driven rather than graph-driven. NOTE: Data Center and Freeform blueprints support IBA probes with the Custom Telemetry Collection. To create a probe: 1. From your blueprint, navigate to Analytics > Probes, then click Create Probe > New Probe. 2. Enter a Name and Description (in this example, power monitoring), then click Add Processor. 3. Select a processor from the Source Processors list, then enter the collector's name and output information. In this example, we selected the Extensible Service Collector processor to consume the service you just created. 25 4. Click Add to add the processor to the probe. 5. To the right of the Graph Query field click the Select a predefined graph query button. The Graph Query sets the blueprint's scope for the telemetry collection. If a device in the blueprint doesn't match the graph query, the telemetry collection for it won't start. The graph query matches all system nodes in your blueprint graph database. Each managed device, whether a leaf switch or spine switch, is represented as a system node in the graph. For example, in the Graph Query, the query matches all system, type nodes. In deploy mode, these nodes have roles such as leaf, access, spine, or superspine. 6. Select DC All managed devices (any role) from the Predefined Query drop-down, then click Update. 26 7. From the Processor page, specify the following: a. In the System ID field, enter system.system_id. This entry instructs the probe to match the graph query with your managed devices named system. The attribute system_id on each system node refers to the system ID of each device. This attribute is what Apstra uses to uniquely identify each device. b. Select power from the Service name drop-down list. c. Select the Data Type. · Select Dynamic Value if your telemetry service collects string. · Select Static Value (graph-driven) if the service collects integers. d. Click Create Probe. 27 Well done! You successfully create a probe! We created a working probe that collects the power consumption for every device in your network. Now let's explore a few valuable customization options to refine your probe. Service Interval The telemetry collection service uses a service interval to fetch and ingest data from devices. This interval is crucial as a too aggressive one can overload your devices. The data type you collect determines the optimal interval. 28 Query Tag Filter Another useful customization option is the Query Tag Filter. Let's say you tagged some switches in your blueprint as storage for a specific monitoring use case. You can configure this filter to perform telemetry on devices with the matching tag, as shown in the following example: Raw data from your custom telemetry collector might be difficult to interpret. Asptra, however, notifies you proactively if any anomaly is detected in your network. In the next section, we'll enrich the power probe we created with additional processors to detect and raise anomalies. Configure Additional Processors for Anomaly Generation IN THIS SECTION Sum processor to aggregate allocated capacity | 30 Sum processor to aggregate thermal output | 33 Sum processor to aggregate used capacity | 36 Ratio processor to calculate the proportion of used capacity to allocated capacity | 39 29 Sum processor to calculate total thermal output and user power | 43 Range processor to set threshold based anomaly | 48 We'll now set up our power probe to identify any power anomalies. You can do this either individually or cumulatively by adding extra processors. The anomalies are then stored in a historical database for reference. We'll further augment the probe by aggregating power readings from all of the system power supplies. To get started: 1. Click the Edit button next to the power monitoring probe you created in "Create a Probe" on page 23. 2. Click the Add Processor button to start adding processors. We'll now show you some examples of some different types of processors you can add to your probe. SeeFigure 1 on page 30. NOTE: Processors fall into two categories: source and analytical. Each category hold various sub-categories. Every probe requires at least one source processor. Although 30 you can use any type of processors, most probes use analytical processors, as shown in the following examples. Figure 1: Example of Power Processors Sum processor to aggregate allocated capacity 1. From the Analytical Processors list, under the Grouping category, select Sum. In the Sum and Output fields, enter Aggregated Allocated Capacity and Allocated Capacity Per Device. 31 2. Edit the processor. Enter Power Measurement per PSU per Device for the Stage Name and Allocated_Capacity for the Column Name. We'll then group this data by system id to provide a consolidated view of the allocated capacity for each device's power supplies. 32 3. Check Enable Metric Logging to enable logging, then enter the value such as Watt, to measure the Allocated Capacity Per Device. This action allows tracking of aggregate usage history for the past 30 days. 33 Sum processor to aggregate thermal output The thermal output of devices is an important metric to monitor. It plays a key role in data center capacity planning and power usage. Having knowledge of the actual power utilization and thermal output for devices and your EVPN fabric helps the DC Manager plan for power and cooling capacity expansion. The thermal output data from our custom telemetry collector provides a comprehensive fabric total. 1. From the Analytical Processors list, under the Grouping category, select Sum. In the Sum and Output fields, enter Aggregated Thermal Output and Thermal Output Per Device. 34 2. Edit the processor. Enter Power Measurement per PSU per Device for the Stage Name and Thermal_Output for the Column Name. We'll then group this data by system id to provide a consolidated view of the thermal output for each device. 35 3. Check Enable Metric Logging to enable logging Then specify the power consumption value, such as BTUs, to measure the thermal output. 36 Sum processor to aggregate used capacity 1. From the Analytical Processors list, under the Grouping category, select Sum. In the Sum and Output fields, enter Aggregated Used Capacity and Allocated Used Capacity per Device. 37 2. Edit the processor. Enter Power Measurement per PSU per Device for the Stage Name and Used_Capacity for the Column Name. We'll then group this data by system id to provide a consolidated view of the actual power usage for each device. 38 3. Check Enable Metric Logging to enable logging. Then specify the power consumption value, such as Watt, to measure the used capacity. 39 Ratio processor to calculate the proportion of used capacity to allocated capacity The Arithmetic processor, an Analytical processor type, calculates power usage ratios for each device. This offers a clear view of power distribution. 1. From the Analytical Processor list, under the Arithmetic category, select Ratio. In the Sum and Output fields, enter Ratio of Used vs. Allocated Power. 40 2. Enter Used Capacity Per Device as the numerator and Allocated Capacity Per Device as the denominator. Use 100 as the Multiplier value so that the result shows as a percentage. 3. Set the Result type based on input and type. 41 4. Check Enable Metric Logging to enable logging. Then specify the power consumption value in percentages (%) to measure the Ratio of Used vs. Allocated Power for each device. 42 43 Sum processor to calculate total thermal output and user power For capacity planning purposes, it's useful to know the total power usage and thermal output for your entire fabric. For this information, we'll create two more Sum processors for Total Blueprint Thermal Output and Total Blueprint Used Power. NOTE: In both processors, the Group by field remains empty. This approach allows for an aggregate across the blueprint. To add a processor for total thermal output: 1. From the Analytical Processor list, under the Grouping category, select Sum. In the Sum and Output fields, enter Total Blueprint Thermal Output. 44 2. Edit the processor. Enter Thermal Output per Device for the Stage Name and value for the Column Name. 45 3. Check Enable Metric Logging to enable logging. 46 4. View your result. 5. Next, we'll create a processor for Total Blueprint Used Power. 47 From the Analytical Processor list, under Grouping, select Sum. In the Sum and Output fields, enter Total Blueprint Used Power. 6. Edit the processor. Enter Used Capacity Per Device for the Stage Name and value for the Column Name. 48 7. View your result. Range processor to set threshold based anomaly You can create a range processor to generate an alert when a device uses more than 80 percent of its allocated capacity. A range processor checks the value against a defined range. To create a range processor: 1. From the Analytical Processor list, under the Check category, select Range. In the Range and Output fields, enter Device with power usage > 80 % capacity. 49 2. Set the range processor to the ratio of used versus allocated power and specify an anomalous range of 80 percent or more. Check Raise Anomaly to receive alerts in the Apstra GUI when this range is exceeded. This allows for efficient power management and early detection of potential issues. 50 Verify Your Configuration You can view your configuration by selecting your probe from the table under Analytics > Probes. The following example shows the processor we created for Aggregated Used Capacity that details the capacity used for each device. 51 Monitor the Health of the Telemetry Service It is important to consider the load on your devices when creating a custom telemetry collection. Telemetry services could overload your devices based on the CLI show commands and collected data. Short intervals for collector execution can also impact impacting traffic forwarding. By default, Apstra provides an IBA telemetry health probe to monitor service health, including customer services and collectors. To monitor the health of your telemetry service: 1. From your blueprint, navigate to Analytics > Probes. 2. Select the Device Telemetry Health probe from the table. 52 3. To filter the telemetry health, click the magnifying glass icon. To display data for your new custom telemetry service, select a service name from the Service name drop-down filter (in this example, Power). 4. Click Apply. The table now shows the health metric for your custom telemetry service. 53 Check the following: · Ensure that the Success Count value has increased. If the value remains the same, your service might be failing. Alternatively, your custom collector could be misconfigured. · Check the Execution Time. If the execution time resembles or exceeds the service interval, there might be an issue. If so, adjust your probe settings and increase the service interval. For instructions on setting the service interval, see "Create a Probe" on page 23. Similarly, a sustained nonzero Waiting Time can indicate that the device is taking too long to complete your service request. 5. To see how your metrics are trending, switch to Time Series view under the Data Source drop-down. The following graph shows the metrics for Power service. 54 For more information about each of these columns and their definitions, see Telemetry Collection Statistics in the Juniper Apstra User Guide. Import and Export Services SUMMARY IN THIS SECTION Export and Import a Service from the Service Registry | 54 Exporting and Importing a Service from the Apstra Flow Dashboard (Recommended) | 56 Export and Import a Service from the Service Registry The service registry, which holds the service schema and the collector, allows you to export and import services. In our example, we're exporting one collector, but a service can include multiple collectors. 55 To export a service from the service registry: 1. From the left navigation pane in the Apstra GUI, navigate to Analytics > Service Registry. 2. Select your service from the registry table (in this example, Power), then click the Export button. 3. The schema that you export contains the service schema and collector info, as you can see in the example below. You can then import this file into a different instance. 56 Exporting and Importing a Service from the Apstra Flow Dashboard (Recommended) You can export and import a service from the Apstra Flow dashboard. The dashboard holds the probe definitions. To export a service from the dashboard: 1. From the dashboard table, select your probe (Power monitoring, for example). Then click the Export button to see the power monitoring dashboard. 57 2. Exporting your dashboard generates a schema with the probe information as shown in the following example. You can then import this file to a different instance. 58 Summary This document taught you the basics of Apstra Intent-Based Analytics. It also explained how to establish a custom telemetry service for data collection from managed devices. Additionally, you learned to create an IBA probe for data visualization, analysis, and anomaly detection. For more information about Apstra and the Apstra GUI, see the Juniper Apstra User Guide. Juniper Networks, the Juniper Networks logo, Juniper, and Junos are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered marks, or registered service marks are the property of their respective owners. Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or otherwise revise this publication without notice. Copyright © 2024 Juniper Networks, Inc. All rights reserved.