This document lists all the items currently deprecated in opentelemetry-cpp.
Deprecated items will be removed in the future.
See the deprecation-process
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Deprecation is announced as part of the migration to weaver:
Version: release following opentelemetry-cpp 1.17.0Date: Nov 9, 2024PR: PR 3105The header files for semantic conventions are generated automatically. The tooling to generate these files is changing:
Changes in tooling allows to generate code that is better organized, with dedicated header files per group of semantic conventions, instead of a single header file for everything.
The following files:
api/include/opentelemetry/trace/semantic_conventions.hsdk/include/opentelemetry/sdk/resource/semantic_conventions.hare now deprecated.
They correspond to semantic conventions v1.27.0, and will no longer be maintained up to date.
These files will be removed in the future.
Two things have changed:
Before, the semantic convention for url.full was:
semantic_conventions.hSemanticConventions::kUrlFullNow, the url.full convention, which is part or the url group, is:
semconv/url_attributes.hsemconv::url::kUrlFullApplication code that uses semantic conventions must be adjusted accordingly.
In addition, semantic conventions that are not marked as stable
are generated in a different header file, placed under directory
incubating, to better separate stable and non stable code.
For example, file semconv/incubating/url_attributes.h
defines semconv::url::kUrlDomain,
which is not marked as stable in semconv v1.27.0
The following files:
api/include/opentelemetry/trace/semantic_conventions.hsdk/include/opentelemetry/sdk/resource/semantic_conventions.hwill be removed.
The removal date is planned for July 1, 2025. This allows more than six months for applications to adjust.