Commit Graph

40 Commits

Author SHA1 Message Date
Evan d64b65368c
[DOC] Update doc comments to pass -WDocumention check (#3375) 2025-06-05 09:27:35 +02:00
Alex E. 2d80c18304
[Code health] Perform cppcheck cleanup (#3150) 2024-12-07 00:34:19 +01:00
Marc Alff a9208987c5
[Code Health] include-what-you-use cleanup, part 3 (#3004) 2024-08-26 12:59:17 -07: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
Cengizhan Pasaoglu 990da7dd0f
Fix inclusion header files and use forward declaration for API (#2124) 2023-05-07 16:02:40 -07:00
Tom Tan 4daca390e9
Build OpenTelemetry C++ SDK and exporter into DLL (#1932) 2023-02-13 09:46:25 -08:00
Marc Alff 1dc810d882
Fix #1649 (#1658)
Fixed some warnings reported by clang.

-Wnewline-eof
  no newline at end of file

-Wc++98-compat-extra-semi
  extra ';' outside of a function is incompatible with C++98

-Winconsistent-missing-destructor-override
  '~XXX' overrides a destructor but is not marked 'override'

-Wheader-hygiene
  using namespace directive in global context in header

-Wunused-parameter
  unused parameter

Fixed some warnings reported by gcc.

-Werror=missing-field-initializers
  missing initializer for member ‘opentelemetry::v1::sdk::trace::SamplingResult::trace_state’

-Werror=unused-variable
  unused variable

-Werror=unused-parameter
  unused parameter
2022-10-05 11:41:58 -07:00
Marc Alff 85b78784a5
Fix more build warnings (#1616) (#1620) 2022-09-20 11:43:08 -07:00
Marc Alff c7dfc0de26
Fix build warnings (#1613) 2022-09-14 16:32:56 +02:00
Marc Alff 74f0ac16b1
Fix header only api singletons (#1520) (#1604) 2022-09-13 07:01:40 -07:00
Lalit Kumar Bhasin 99a72e1ae0
Add noexcept/const qualifier at missing places for Trace API. (#1374)
* fix noxcept

* fix etw
2022-05-06 07:21:22 -07:00
Zsolt Bölöny 72360b49f6
Add missing include guard (#1357) 2022-04-27 16:48:26 +05:30
Ben Landrum 3122254e82
Remove implicitly deleted default constructor (#1267)
Co-authored-by: Tom Tan <Tom.Tan@microsoft.com>
Co-authored-by: Lalit Kumar Bhasin <lalit_fin@yahoo.com>
2022-04-07 10:02:11 -07:00
Ehsan Saei 3508d7c11c
allow extension of the lifetime of ContextStorage. (#1214) 2022-02-18 23:44:56 -08:00
Yerannnnnn 3a3bf25289
🐛 Fix for Stack::Resize capacity_ (#934) 2021-08-03 11:52:19 +05:30
Lalit Kumar Bhasin 124087f145
runtime context cleanup (#885) 2021-07-09 10:11:45 +05:30
Lalit Kumar Bhasin 98013c2563
Support for TextMapPropagator::Fields method (#799) 2021-07-02 10:47:22 +05:30
Max Golovanov 47859cc37e
ETW example and tests clean-up (#882) 2021-07-01 08:07:27 +05:30
Lalit Kumar Bhasin 3fa6525f40
Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
Lalit Kumar Bhasin c28be737f0
Implement Baggage propagator (#732) 2021-05-17 15:44:56 +05:30
Tom Tan 414a7314f7
Make ContextValue default constructible with monostate (#731) 2021-05-13 22:38:35 +05:30
Lalit Kumar Bhasin 2d2aa71ae7
restructure propagators (#715) 2021-05-05 11:27:51 +05:30
Max Golovanov b0f27a465e
More vs2019 minor warnings cleanup (#675) 2021-04-16 15:19:40 +05:30
Evgeny Yakimov d129d42242
Make `Context::HasKey` const (#671)
- Update `Context::HasKey` to be const
- Add const qualifier to HasKey,GetValue to validate constness
2021-04-12 10:33:30 +05:30
Siim Kallas 1e5751e203
Add Jaeger propagator (#599) 2021-03-12 22:47:02 +05:30
Max Golovanov 18e8d9f8f7
Patches to enable Visual Studio 2015 - Update 2 support (#565) 2021-02-10 12:54:47 +05:30
Johannes Tax be1bbad6eb
Change strategy for detaching contexts (#383) 2020-10-29 21:28:53 -07:00
Johannes Tax f5079b56b3
Simplify context implementation (#372) 2020-10-29 11:32:29 -07:00
Lalit Kumar Bhasin 7826040ba3
fix compile time warnings (#352) 2020-10-07 10:27:53 -07:00
Tom Tan 6d869051eb
Change type of Resize capacity from int to size_t (#346) 2020-09-30 10:57:54 -07:00
Johannes Tax a39b9b38d8
Remove static global context_handler_ variable (#322) 2020-09-21 15:59:08 -07:00
Lalit Kumar Bhasin 5d1898c01f
fix context data structure to support multiple attributes (#330) 2020-09-17 14:10:54 -07:00
Max Golovanov 7100f73644
Visual Studio compiler warnings clean-up (#315) 2020-09-09 14:33:49 -07:00
Sam Atac 080c493dba
Remove runtime_def.h (#284) 2020-08-19 12:32:01 -07:00
Sam Atac a55843f580
Span auto add context (#252) 2020-08-12 12:51:20 -07:00
Sam Atac 4e2aeee8f3
Context helper functions (#225) 2020-07-29 12:49:13 -07:00
Sam Atac 283114d755
Runtime and threadlocal context (#209) 2020-07-27 19:24:27 -07:00
easy e61663632c
Moving a temporary object prevents copy elision. (#205)
Caught by: -Wpessimizing-move
2020-07-23 08:45:43 -07:00
Sam Atac 37b275c1ac
Context api alternative implementation (#180) 2020-07-21 15:05:13 -07:00
Reiley Yang 976bc27116
Initial folder layout (#8) 2019-10-24 19:34:33 -07:00