Commit Graph

408 Commits

Author SHA1 Message Date
Marc Alff 545f9f4108
[CodeHealth] fix include-what-you-use, part 8 (#3465) 2025-06-09 10:23:10 +02:00
Douglas Heriot b1253a7484
[SDK] Add credentials option to OTLP gRPC client (#3402) (#3403)
This allows passing custom `ChannelCredentials` when creating gRPC channels, to support authentication protocols that require short-lived tokens.
2025-06-07 11:10:50 +02:00
vencislav-georgiev-1A 53b153caf2
[BUILD] Allow compilation with CXX26 (#3464) 2025-06-06 17:35:17 +02:00
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
Doug Barker 546fcd7979
[INSTALL] Unify cmake install functions and dynamically set component dependencies (#3368) 2025-05-14 09:44:27 +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
Doug Barker c2a9397627
[INSTALL] add cmake components to the package (#3220) 2025-04-02 09:54:17 +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
Doug Barker 2c9b68fbae
[TEST] load the .dylib files on macos in the singleton test (#3316) 2025-03-23 11:43:10 +01: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
Alex E. 25f7a13f6f
[EXPORTER] Support handling retry-able errors for OTLP/HTTP (#3223) 2025-01-17 16:35:19 +01:00
Marc Alff d693e95cdb
[SDK] Better control of threads executed by opentelemetry-cpp (#3175) 2025-01-13 10:12:30 +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 e5a1a15296
[Code Health] Include what you use, part 6 (#3216) 2025-01-08 10:31:06 +01: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
Marc Alff 902ee88bef
[TEST] Build the singleton test on windows. (#3183) 2024-12-17 19:49:16 +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
tobim 7402ed9bac
[BUILD] Add a CMake option to disable shared libs (#3095)
* Add a CMake option to disable shared libs

This option is useful to support platforms that do not support
dynamic libraries and `dlopen`.
2024-10-21 23:27:57 +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