File: Overview.rst

package info (click to toggle)
opentelemetry-cpp 1.19.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,744 kB
  • sloc: cpp: 79,029; sh: 1,640; makefile: 43; python: 31
file content (26 lines) | stat: -rw-r--r-- 1,216 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Overview
========

The OpenTelemetry C++ API enables developers to instrument their
applications and libraries in order to make them ready to create and
emit telemetry data. The OpenTelemetry C++ API exclusively focuses on
instrumentation and does not address concerns like exporting, sampling,
and aggregating telemetry data. Those concerns are addressed by the
OpenTelemetry C++ SDK. This architecture enables developers to
instrument applications and libraries with the OpenTelemetry C++ API
while being completely agnostic of how telemetry data is exported and
processed.

Library design
--------------

The OpenTelemetry C++ API is provided as a header-only library and
supports all recent versions of the C++ standard, down to C++14.

A single application might dynamically or statically link to different
libraries that were compiled with different compilers, while several of
the linked libraries are instrumented with OpenTelemetry. OpenTelemetry
C++ supports those scenarios by providing a stable ABI. This is achieved
by a careful API design, and most notably by providing ABI stable
versions of classes from the standard library. All those classes are
provided in the ``opentelemetry::nostd`` namespace.