Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Guidelines for Specifying Data Reporting Intervals Junos Telemetry

The Junos Telemetry enables you to provision sensors to collect and export data for various system resources without involving polling. A management station sends one request to stream periodic updates.

You can configure telemetry sensors to report data at a specified interval either through the command line interface (CLI) or through the OpenConfig for Junos telemetrySubscribe remote procedure call (RPC). To configure using the CLI, include the reporting-rate seconds statement at the [edit services analytics export-profile profile-name] hierarchy level. For the telemetrySubscribe RPC, specify the sampling interval parameter, in milliseconds. In both cases, the interval specifies the amount of time between each subsequent export of data.

Determine the Reporting Interval for a System Resource

To determine the appropriate reporting interval for a specific system resource, follow these guidelines:

  • Identify the required export interval for a given object, such as an interface.

  • Identify the maximum number of objects reported by the sensor, such as the number of physical interfaces configured on a line card.

  • Identify the minimum number of objects reported on each interval for a given sensor.

  • Use the following formula to determine the best reporting interval:

    • Reporting interval = Required Export Interval Per Object * Minimum Number of objects reported on each Interval / Maximum Number of Objects.

For example, a business requirement specifies reporting interface statistics every 30 seconds. At every interval, the system reports 10 interface records, and each line card has 96 interfaces. By applying the reporting-interval formula, you derive a 3.125-second reporting interval. Currently, the reporting interval can't be configured to anything but multiples of 2 seconds. Therefore, for this example, configure the reporting interval as 2 seconds in the CLI or 2000 milliseconds in the OpenConfig RPC.

Tip:

The same metric might be reported more than once over a 30-second interval. For effective visualization and data manipulation, it is common to aggregate data over fixed time spans.