Commit Graph

341 Commits

Author SHA1 Message Date
Evan d64b65368c
[DOC] Update doc comments to pass -WDocumention check (#3375) 2025-06-05 09:27:35 +02:00
Marc Alff b9cf499ff5
[RELEASE] Release opentelemetry-cpp 1.21.0 (#3445) 2025-05-29 11:30:28 +02:00
Marc Alff 214950e5d7
[SEMANTIC CONVENTIONS] Fix comment style to preserve markup (#3444) 2025-05-28 16:47:56 +02:00
Marc Alff f7babf1bca
[SEMANTIC CONVENTIONS] Upgrade to semantic conventions 1.34.0 (#3428) 2025-05-21 11:29:28 +02:00
Marc Alff 0f8dedf709
[SEMANTIC CONVENTIONS] Upgrade semantic conventions to 1.33.0 (#3416) 2025-05-16 19:01:04 +02:00
WenTao Ou 9fd8511772
Fixes glibc++ 5 checking (#3355)
* Fixes glibc++ 5 checking

* Always checking `OPENTELEMETRY_TRIVIALITY_TYPE_TRAITS` when `OPENTELEMETRY_STL_VERSION` is defined

* Restore confg.h but left a warning
2025-04-28 22:25:31 -07:00
WenTao Ou 4da3647579
Fixes warnings of ciso646 in C++17 (#3360) 2025-04-23 07:22:38 -07:00
Pranav Sharma d976876feb
[API] Add Enabled method to Tracer (#3357) 2025-04-22 07:13:52 -07:00
Evan acd4a0ed2a
Fix the documention comments (#3371) 2025-04-21 14:28:33 -07:00
Marc Alff 3e58a0b970
[SEMANTIC CONVENTIONS] Upgrade semantic conventions to 1.32.0 (#3351) 2025-04-08 08:53:28 +02:00
WenTao Ou ab8147987d
[BUILD] Remove `WITH_ABSEIL` (#3318) 2025-04-02 01:45:26 +02:00
Marc Alff 6175aa0b21
[RELEASE] Release opentelemetry-cpp 1.20.0 (#3328) 2025-04-02 00:21:41 +02:00
Marc Alff 148cfe9ee2
[SEMANTIC CONVENTIONS] Upgrade semantic conventions to 1.31.0 (#3297) 2025-03-12 08:55:12 +01:00
Tom Tan 64a74bfadb
[API] Change the param-pack unpacking order to start from left to right (#3296)
* Change the param-pack unpacking order to start from left to right

* Add fallback for c++14 and below
2025-03-11 09:18:09 +01:00
WenTao Ou 3c4afd0696
[API] Deprecate event logger (#3285) 2025-02-25 10:36:31 +01:00
WenTao Ou 2f58e95c43
[BUILD] Fixes compatibility of type_traits (#3274) 2025-02-14 09:55:13 +01:00
Marc Alff 5bc053e522
[SDK] Support OTEL_SDK_DISABLED environment variable (#3245) 2025-02-05 21:42:51 +01:00
Marc Alff 6603c3a0f1
Upgrade semantic conventions to 1.30 (#3258) 2025-01-28 22:55:47 +01:00
Marc Alff ced79860f8
[RELEASE] release opentelemetry-cpp 1.19.0 (#3249) 2025-01-22 09:09:48 +01:00
Sv. Lockal 57114c5b9c
Fix error ‘uint8_t’ does not name a type with gcc-15 (#3240) 2025-01-10 09:13:30 -08:00
Marc Alff 3b8934619e
[SEMCONV] Metrics are incorrectly prefixed with `metric.` (#3228) 2025-01-07 09:01:26 +01:00
WenTao Ou d9ad23ee86
[BUILD] Add cxx feature detections (#3203) 2024-12-18 08:37:47 +01:00
David Ashpole 6ed0651a42
[SEMANTIC CONVENTIONS] Update links to openmetrics to reference the v1.0.0 release (#3205) 2024-12-14 11:59:28 +01:00
Marc Alff 6d87bd6a8b
[SEMANTIC CONVENTIONS] Upgrade to weaver 0.11.0 (#3194) 2024-12-11 09:14:54 +01:00
Alex E. 2d80c18304
[Code health] Perform cppcheck cleanup (#3150) 2024-12-07 00:34:19 +01:00
Marc Alff 150256c172
[SEMANTIC CONVENTIONS] Upgrade to semantic conventions 1.29.0 (#3182) 2024-12-03 00:29:24 +01:00
Marc Alff d15da3b256
[Code health] Include what you use cleanup, part 5 (#3140) 2024-11-27 11:57:47 +01:00
Marc Alff 955a807c04
[RELEASE] Release opentelemetry-cpp 1.18.0 (#3168)
Fixes #3145
2024-11-26 00:19:04 +01:00
WenTao Ou a5db7e5935
[EXPORTER] Allow to share gRPC clients between OTLP exporters (#3041) 2024-11-18 23:32:36 +01:00
Marc Alff c81a3d4d20
[SEMANTIC CONVENTIONS] Upgrade to semantic conventions 1.28.0 (#3139) 2024-11-14 00:34:37 +01:00
Marc Alff f7a9aea063
[SEMANTIC CONVENTIONS] Migration to weaver (#3105) 2024-11-13 19:14:12 +01:00
Yash Tibrewal 95d039c08a
[BUILD] Fix -Wmissing-template-arg-list-after-template-kw warning (#3133) 2024-11-08 00:09:26 +01:00
Santiago ff2447df63
[BUILD] Improve how to handle yield() in ARM. (#3129) 2024-11-07 22:01:59 +00:00
Pranav Sharma be1f43ca00
[API] Comply with W3C Trace Context (#3115) 2024-11-06 18:35:40 +01:00
uuzay f30ab925c8
[API] Add synchronous gauge (#3029)
* Add synchronous gauge

* Add ABI Version macro, update tests

* Fix function description

* Fix formatting

* Remove ABI macros from SDK.

* Add error log for gauge delta temporality.

* Fix formatting

* Apply suggestions from code review

Move kGauge to the end, for better ABI compatibility.

---------

Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
Co-authored-by: Marc Alff <marc.alff@free.fr>
2024-10-30 22:34:25 +01:00
ColoredCarrot 2c912d50a5
[BUILD] Remove aligned_storage from nostd (#3112)
std::aligned_storage was deprecated in C++23.
Abseil removed its aligned_storage in 42133464db
2024-10-26 01:16:10 +02:00
Marc Alff 6445819fce
[API] Jaeger Propagator should not be deprecated (#3086) 2024-10-08 18:49:56 +02:00
Romain Geissler @ Amadeus 3d9c2b5382
[BUILD] Avoid buggy "should be explicitly initialized in the copy constructor" warning with gcc <= 8 (#3087)
gcc <= 8, when building with -Wextra (and -Werror) wrongly raises this:
/data/mwrep/res/mdw/SIOTF/internal/opentelemetry_cpp/trace/18-0-0-7/include/opentelemetry/trace/default_span.h: In copy constructor 'opentelemetry::v1::trace::DefaultSpan::DefaultSpan(const opentelemetry::v1::trace::DefaultSpan&)':
/data/mwrep/res/mdw/SIOTF/internal/opentelemetry_cpp/trace/18-0-0-7/include/opentelemetry/trace/default_span.h:70:3: error: base class 'class opentelemetry::v1::trace::Span' should be explicitly initialized in the copy constructor [-Werror=extra]
   DefaultSpan(const DefaultSpan &spn) noexcept : span_context_(spn.GetContext()) {}
   ^~~~~~~~~~~

See on Compiler Explorer here: https://godbolt.org/z/ed5rv74nT

I believe Jason Merrill fixed it in gcc for all gcc >= 9 with:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=f3f7cefecc833b4ab652215ceb8b408c21dca225;hp=777083bb806dbe31ab97002b7d445191d3ee7a2d

Workaround this by calling explicitly the empty Span constructor.
2024-10-08 17:28:30 +02:00
Marc Alff fa0a5200dd
[RELEASE] Release opentelemetry-cpp 1.17.0 (#3076) 2024-10-07 23:57:27 +02:00
Marc Alff a9208987c5
[Code Health] include-what-you-use cleanup, part 3 (#3004) 2024-08-26 12:59:17 -07:00
Marc Alff 9e062b5bdd
[SEMANTIC CONVENTIONS] Upgrade semantic conventions to 1.27.0 (#3023) 2024-08-13 10:51:39 +02:00
WenTao Ou 4520aa598b
[SDK] Fix crash in `PeriodicExportingMetricReader`. (#2983) 2024-07-19 12:12:48 +02:00
Marc Alff baecbb95bd
[RELEASE] Release opentelemetry-cpp version 1.16.1 (#3007) 2024-07-17 22:04:10 +02:00
Marc Alff 6dbfdb52eb
[Code health] include-what-you-use cleanup, part 2 (#2704) 2024-07-06 17:16:02 +02:00
Marc Alff fd57e7aa23
[RELEASE] Release opentelemetry-cpp version 1.16.0 (#2711) 2024-06-21 19:13:20 +02:00
Harish e1d96901fc
[Code health] Remove Unicode Text from Source files (#2707)
Signed-off-by: perhapsmaple <140232061+perhapsmaple@users.noreply.github.com>
2024-06-20 09:20:57 +02:00
Yijie Ma 05bfb8a257
[DOC] Fix typo tace_id -> trace_id in logger.h (#2703) 2024-06-17 08:51:42 +02:00
Marc Alff f97dc061bc
[Code health] include-what-you-use cleanup (#2692) 2024-06-15 17:10:05 +02:00
WenTao Ou 3efd3ce8f4
[EXPORTER] OTLP file: use `fopen`, `fwrite`, `fflush` and `fclose` which are thread-safe. (#2675)
* Use `fopen`, `fwrite`, `fflush` and `fclose` which are thread-safety.

* Add some macros to help to find problems.

Add `OPENTELEMETRY_ATTRIBUTE_LIFETIME_BOUND` , `OPENTELEMETRY_SANITIZER_NO_MEMORY` , `OPENTELEMETRY_SANITIZER_NO_THREAD`, `OPENTELEMETRY_SANITIZER_NO_ADDRESS`, `OPENTELEMETRY_HAVE_BUILTIN`, `OPENTELEMETRY_HAVE_FEATURE`, `OPENTELEMETRY_HAVE_ATTRIBUTE`, `OPENTELEMETRY_HAVE_CPP_ATTRIBUTE`

* Append EOL before call Export of backend

---------

Co-authored-by: Marc Alff <marc.alff@oracle.com>
2024-06-08 14:38:00 +02:00
Marc Alff 2535c70c4e
[API/SDK] Provider cleanup (#2664) 2024-06-03 22:46:08 +02:00