You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+50-38Lines changed: 50 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,10 @@ build systems for opentelemetry-cpp.
5
5
6
6
## Dependencies
7
7
8
-
You can link OpenTelemetry C++ SDK with libraries provided in [dependencies.md](https://github.com/open-telemetry/opentelemetry-cpp/blob/main/docs/dependencies.md) (complete list of libraries with versions used in our CI can be found [here](https://github.com/open-telemetry/opentelemetry-cpp/blob/main/third_party_release)).
8
+
You can link OpenTelemetry C++ SDK with libraries provided in
@@ -23,14 +26,17 @@ You can link OpenTelemetry C++ SDK with libraries provided in [dependencies.md](
23
26
unittests. We use CMake version 3.15.2 in our build system. To install CMake,
24
27
consult the [Installing CMake](https://cmake.org/install/) guide.
25
28
-[GoogleTest](https://github.com/google/googletest) framework to build and run
26
-
the unittests. Refer to [third_party_release](https://github.com/open-telemetry/opentelemetry-cpp/blob/main/third_party_release#L5)
-[Google Benchmark](https://github.com/google/benchmark) framework to build and run
31
-
benchmark tests. Refer to [third_party_release](https://github.com/open-telemetry/opentelemetry-cpp/blob/main/third_party_release#L4)
32
-
for version of Benchmark used in CI. To install Benchmark,
33
-
consult the [GoogleBenchmark Build Instructions](https://github.com/google/benchmark#installation).
34
+
-[Google Benchmark](https://github.com/google/benchmark) framework to build and
NOTE: Experimental, and not supported for all the components. Make sure the
148
-
[GoogleTest](https://github.com/google/googletest) installation may fail if there is a different version of googletest already installed in system-defined path.
154
+
[GoogleTest](https://github.com/google/googletest) installation may fail if
155
+
there is a different version of googletest already installed in system-defined
156
+
path.
149
157
150
158
### Prerequisites for Bazel
151
159
152
-
- A supported platform (e.g. Windows, macOS or Linux).
153
-
Refer to [Platforms Supported](./README.md#supported-development-platforms)
154
-
for more information.
155
-
- A compatible C++ compiler supporting at least C++11.
156
-
Major compilers are supported.
157
-
Refer to [Supported Compilers](./README.md#supported-c-versions) for more information.
158
-
-[Git](https://git-scm.com/) for fetching opentelemetry-cpp source code from repository.
159
-
To install Git, consult the [Set up Git](https://help.github.com/articles/set-up-git/)
160
-
guide on GitHub.
161
-
-[Bazel](https://www.bazel.build/) for building opentelemetry-cpp API,
162
-
SDK with their unittests. We use 3.7.2 in our build system.
160
+
- A supported platform (e.g. Windows, macOS or Linux). Refer to [Platforms
161
+
Supported](./README.md#supported-development-platforms) for more information.
162
+
- A compatible C++ compiler supporting at least C++11. Major compilers are
163
+
supported. Refer to [Supported Compilers](./README.md#supported-c-versions) for
164
+
more information.
165
+
-[Git](https://git-scm.com/) for fetching opentelemetry-cpp source code from
166
+
repository. To install Git, consult the [Set up
167
+
Git](https://help.github.com/articles/set-up-git/) guide on GitHub.
168
+
-[Bazel](https://www.bazel.build/) for building opentelemetry-cpp API, SDK with
169
+
their unittests. We use 3.7.2 in our build system.
163
170
164
-
To install Bazel, consult the [Installing Bazel](https://docs.bazel.build/versions/3.7.0/install.html) guide.
Copy file name to clipboardExpand all lines: README.md
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,16 @@ The C++ [OpenTelemetry](https://opentelemetry.io/) client.
16
16
| Metrics | Development [1]| N/A |
17
17
| Logs | Experimental [2]| N/A |
18
18
19
-
*[1]: The development of the metrics API and SDK based on new stable specification is ongoing. The timelines would be available in release milestone. The earlier implementation (based on old specification) can be included in build by setting `ENABLE_METRICS_PREVIEW` preprocessor macro, and is included under `*/_metrics/*` directory. This would be eventually removed once the ongoing implemetation is stable.
20
-
*[2]: The current Log Signal Implementation is Experimental, and will change as the current OpenTelemetry Log specification matures. The current implementation can be included in build by setting `ENABLE_LOGS_PREVIEW` preprocessor macro.
19
+
*[1]: The development of the metrics API and SDK based on new stable
20
+
specification is ongoing. The timelines would be available in release
21
+
milestone. The earlier implementation (based on old specification) can be
22
+
included in build by setting `ENABLE_METRICS_PREVIEW` preprocessor macro,
23
+
and is included under `*/_metrics/*` directory. This would be eventually
24
+
removed once the ongoing implemetation is stable.
25
+
*[2]: The current Log Signal Implementation is Experimental, and will change as
26
+
the current OpenTelemetry Log specification matures. The current
27
+
implementation can be included in build by setting `ENABLE_LOGS_PREVIEW`
@@ -26,7 +34,8 @@ The C++ [OpenTelemetry](https://opentelemetry.io/) client.
26
34
| 1.0.0 | 1.0.0-rc4 | N/A [1]|
27
35
| 1.0.0 | 1.0.0 | N/A |
28
36
29
-
*[1]: We don't have releases for opentelemetry-cpp contrib repo. This may change in future.
37
+
*[1]: We don't have releases for opentelemetry-cpp contrib repo. This may
38
+
change in future.
30
39
31
40
## Supported C++ Versions
32
41
@@ -66,15 +75,18 @@ having C++ compiler with [supported C++ standards](#supported-c-versions).
66
75
67
76
## Dependencies
68
77
69
-
Please refer to [Dependencies.md](docs/dependencies.md) for OSS Dependencies and license requirements.
78
+
Please refer to [Dependencies.md](docs/dependencies.md) for OSS Dependencies and
79
+
license requirements.
70
80
71
81
## Installation
72
82
73
83
Please refer to [INSTALL.md](./INSTALL.md).
74
84
75
85
## Getting Started
76
86
77
-
As an application owner or the library author, you can find the getting started guide and reference documentation on [opentelemetry-cpp.readthedocs.io](https://opentelemetry-cpp.readthedocs.io/en/latest/)
87
+
As an application owner or the library author, you can find the getting started
Copy file name to clipboardExpand all lines: Versioning.md
+21-18Lines changed: 21 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,20 +19,20 @@ buy may not work in applications using `opentelemetry 2.0.0`.
19
19
20
20
Refer to the [ABI Policy](./docs/abi-policy.md) for more details. To summarise:
21
21
22
-
* The API is header only, and uses ABI compliant interfaces. However, ABI stability
23
-
is not guaranteed for SDK.
24
-
* In case of ABI breaking changes, a new `inline namespace` version will
25
-
be introduced, and the existing linked applications can continue using the older version
26
-
unless they relink with newer version.
22
+
* The API is header only, and uses ABI compliant interfaces. However, ABI
23
+
stability is not guaranteed for SDK.
24
+
* In case of ABI breaking changes, a new `inline namespace` version will be
25
+
introduced, and the existing linked applications can continue using the older
26
+
version unless they relink with newer version.
27
27
28
28
## Release Policy
29
29
30
30
* Release versions will follow [SemVer 2.0](https://semver.org/).
31
31
* Only a single source package containing the API, SDK, and exporters which are
32
32
required by the specification would be released. All these components are
33
-
always versioned and released together. For example, any changes in one of the exporter
34
-
would result in version update of the entire source package even though there is
35
-
no changes in API, SDK and other exporters.
33
+
always versioned and released together. For example, any changes in one of the
34
+
exporter would result in version update of the entire source package even
35
+
though there is no changes in API, SDK and other exporters.
36
36
* Experimental releases: New (unstable) telemetry signals and features will be
37
37
introduced behind feature flag protected by a preprocessor macro.
38
38
@@ -65,16 +65,19 @@ Refer to the [ABI Policy](./docs/abi-policy.md) for more details. To summarise:
65
65
allowed to break existing stable interfaces. Feature flags will be removed
66
66
once we have a stable implementation for the signal.
67
67
68
-
* As an exception, small experimental features in otherwise stable signals/components
69
-
mayn't necessarily be released under feature flag. These would be flagged as experimental
70
-
by adding a `NOTE` in it's header file - either at the beginning of file, or as the comment for
71
-
the experimental API methods. Also, if the complete header is experimental, it would be prefixed
72
-
as `experimental_`. As an example, the semantic conventions for
73
-
trace signal is experimental at the time of the writing and is within `experimental_semantic_conventions.h`
74
-
75
-
* Code under the "*::detail" namespace implements internal details,
76
-
and is NOT part of public interface. Also, any API not documented in the [public
77
-
documentation](https://opentelemetry-cpp.readthedocs.io/en/latest/) is NOT part of the public interface.
68
+
* As an exception, small experimental features in otherwise stable
69
+
signals/components mayn't necessarily be released under feature flag. These
70
+
would be flagged as experimental by adding a `NOTE` in it's header file -
71
+
either at the beginning of file, or as the comment for the experimental API
72
+
methods. Also, if the complete header is experimental, it would be prefixed as
73
+
`experimental_`. As an example, the semantic conventions for trace signal is
74
+
experimental at the time of the writing and is within
75
+
`experimental_semantic_conventions.h`
76
+
77
+
* Code under the "*::detail" namespace implements internal details, and is NOT
78
+
part of public interface. Also, any API not documented in the [public
79
+
documentation](https://opentelemetry-cpp.readthedocs.io/en/latest/) is NOT
80
+
part of the public interface.
78
81
79
82
* GitHub releases will be made for all released versions.
Copy file name to clipboardExpand all lines: docs/building-with-stdlib.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,9 @@ gcc-7 | C++17 | requires `gsl::span` for `std::span` im
162
162
gcc-9+ | C++20 |
163
163
164
164
If SDK is compiled without standard library classes, then `nostd::variant`
165
-
implementation internally uses a private snapshot of [Abseil Variant](https://github.com/abseil/abseil-cpp/blob/master/absl/types/variant.h) .
165
+
implementation internally uses a private snapshot of [Abseil
Copy file name to clipboardExpand all lines: docs/building-with-vs2019.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,8 @@ instructions that detail how to [run build build tools in a docker container](ht
136
136
build tooling. This script installs all build tools and builds all 3rd party
137
137
dependencies from source using [vcpkg package manager](https://vcpkg.io/en/index.html).
138
138
- Launch Visual Studio 2019 IDE.
139
-
- Use `Open a local folder` option to open the folder where you cloned the source code.
139
+
- Use `Open a local folder` option to open the folder where you cloned the
140
+
source code.
140
141
- Right-click on `CMakeLists.txt` and choose `Generate Cache for opentelemetry-cpp`.
141
142
- In the top bar menu - select `Build -> Build All` to build SDK, Exporters and Tests.
142
143
- You can use [Google Test Adapter](https://marketplace.visualstudio.com/items?itemName=ChristianSoltenborn.GoogleTestAdapter)
0 commit comments