opentelemetry-cpp
v1.19.0
published 1 month ago
1,001 stars
456 forks
36 watchers
Apache License 2.0
public
0 assets
Compatibility level 0
4DMBlLcvL+TAzj7OBrAtxKoKtJHrdb9CxvXig5EuRow=
Maintained byKeith Smiley
v1.19.0
January 22, 2025

Errata

Due to a missing stability attribute in semantic conventions: https://github.com/open-telemetry/semantic-conventions/issues/1777 the semantic convention network.interface.name was marked as stable during code generation.

Semantic convention network.interface.name should be considered experimental instead, and will become experimental in the next opentelemetry-cpp release.

v1.19.0 release

Release of:

  • opentelemetry-api
  • opentelemetry-sdk
  • exporter packages

What's Changed

New Features

  • [SDK] Better control of threads executed by opentelemetry-cpp #3175

    • This feature is experimental, protected by a WITH_THREAD_INSTRUMENTATION_PREVIEW flag in CMake.
  • [EXPORTER] Support handling retry-able errors for OTLP/HTTP #3223

    • This feature is experimental, protected by a WITH_OTLP_RETRY_PREVIEW flag in CMake.
  • [EXPORTER] Support handling retry-able errors for OTLP/gRPC #3219

    • This feature is experimental, protected by a WITH_OTLP_RETRY_PREVIEW flag in CMake.

Deprecations

  • This release contains deprecations, see file DEPRECATED.md for details.

New Contributors

Full Changelog: https://github.com/open-telemetry/opentelemetry-cpp/compare/v1.18.0...v1.19.0

Deps:

OpenTelemetry C++

Slack codecov.io Build Status Release FOSSA License Status FOSSA Security Status

The C++ OpenTelemetry client.

Project Status

Stable across all 3 signals i.e. Logs, Metrics, and Traces.

See Spec Compliance Matrix to understand which portions of the specification has been implemented in this repo.

Supported C++ Versions

Code shipped from this repository generally supports the following versions of C++ standards:

  • ISO/IEC 14882:2014 (C++14)
  • ISO/IEC 14882:2017 (C++17)
  • ISO/IEC 14882:2020 (C++20)

Any exceptions to this are noted in the individual README.md files.

Please note that supporting the C Programming Language is not a goal of the current project.

Supported Development Platforms

Our CI pipeline builds and tests on following x86-64 platforms:

Platform Build type
ubuntu-22.04 (GCC 10, GCC 12, Clang 14) CMake, Bazel
ubuntu-20.04 (GCC 9.4.0 - default compiler) CMake, Bazel
ubuntu-20.04 (GCC 9.4.0 with -std=c++14/17/20 flags) CMake, Bazel
macOS 12.7 (Xcode 14.2) Bazel
Windows Server 2019 (Visual Studio Enterprise 2019) CMake, Bazel
Windows Server 2022 (Visual Studio Enterprise 2022) CMake

In general, the code shipped from this repository should build on all platforms having C++ compiler with supported C++ standards.

Dependencies

Please refer to Dependencies.md for OSS Dependencies and license requirements.

Installation

Please refer to INSTALL.md.

Getting Started

As an application owner or the library author, you can find the getting started guide and reference documentation on opentelemetry-cpp.readthedocs.io

The examples/simple directory contains a minimal program demonstrating how to instrument a small library using a simple processor and console exporter, along with build files for CMake and Bazel.

Contributing

See CONTRIBUTING.md

We meet weekly, and the time of the meeting alternates between Monday at 13:00 PT and Wednesday at 9:00 PT. The meeting is subject to change depending on contributors' availability. Check the OpenTelemetry community calendar for specific dates and Zoom meeting links.

Meeting notes are available as a public Google doc. For edit access, get in touch on Slack.

Maintainers (@open-telemetry/cpp-maintainers):

Approvers (@open-telemetry/cpp-approvers):

Emeritus Maintainer/Approver/Triager:

Thanks to all the people who have contributed

contributors

Release Schedule

See the release notes for existing releases.

See the project milestones for details on upcoming releases. The dates and features described in issues and milestones are estimates, and subject to change.