OpenVINO™ Telemetry

2025.2.0 · active · verified Sat Apr 11

OpenVINO™ Telemetry is a Python 3 library (current version 2025.2.0) designed to collect anonymous usage and performance data from OpenVINO™ toolkit components. It sends events, comprising a category, action, and label, to Google Analytics to aid in debugging and further development. The library is actively maintained as part of the broader OpenVINO™ toolkit, with releases typically aligning with OpenVINO™ versions.

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to import the `openvino_telemetry` library and send anonymous usage events. Events consist of a `category` (tool name), `action` (metric/function), and `label` (detailed data, often a JSON-like string). Telemetry collection is opt-out by default and requires user consent, which can also be managed via the `opt_in_out` command line utility.

import openvino_telemetry as telemetry
import os

# Telemetry is collected by default but requires user consent during OpenVINO installation.
# If the control file doesn't exist or indicates 'no' consent, no data is transmitted.
# For explicit control (e.g., in a test environment):
# os.system("opt_in_out --opt_out") # To disable
# os.system("opt_in_out --opt_in")  # To enable

# Send a simple event with a category, action, and label.
# The label can be a simple string or a JSON-like string for structured data.
telemetry.send_event(
    category="my_application", 
    action="start_up", 
    label="{version:1.0.0, os:" + os.name + "}"
)

# Example of sending an event related to a specific OpenVINO tool, as per documentation guidelines.
# Ensure all related data is in the 'label' as a single stringified dictionary for correlation.
telemetry.send_event(
    category="mo", 
    action="conversion_results", 
    label="{framework:pytorch, model:yolov8, status:success, duration_sec:120}"
)

print("Telemetry events sent (if consent is granted).")

view raw JSON →