Change8

Migrating to OpenTelemetry Python v1.30.0

Version v1.30.0 introduces 1 breaking change. This guide details how to update your code.

Released: 2/4/2025

1
Breaking Changes
1
Migration Steps
3
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

opentelemetry.semconv.attributes.network_attributes.NETWORK_INTERFACE_NAMEmetrics.get_meterspan context manager

Breaking Changes

Issue #1

The attribute `opentelemetry.semconv.attributes.network_attributes.NETWORK_INTERFACE_NAME` has been removed from semantic conventions as it was incorrectly placed. Users relying on this specific constant must update their code to use the correct location or equivalent attribute if available in the updated semantic conventions version.

Migration Steps

  1. 1
    If you were using `opentelemetry.semconv.attributes.network_attributes.NETWORK_INTERFACE_NAME`, locate the correct attribute definition within the updated semantic conventions (version 1.30.0).

Release Summary

This release introduces support for Python 3.13, adds an attributes field to get_meter, and fixes serialization issues for None values in logs. A breaking change involves the removal of an incorrectly placed network attribute constant in semantic conventions.

Need More Details?

View the full release notes and all changes for OpenTelemetry Python v1.30.0.

View Full Changelog