Commit Graph

39 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
Doug Barker 165983a128
[CMAKE] remove global include_directories usage and rely on target properties (#3426) 2025-05-20 23:44:47 +02:00
Marc Alff d2ff95acbc
[CI] Add GRPC in maintainer CI (#3248) 2025-01-21 15:21:30 +01:00
Alex E. 25f7a13f6f
[EXPORTER] Support handling retry-able errors for OTLP/HTTP (#3223) 2025-01-17 16:35:19 +01:00
WenTao Ou 95baed7158
[SDK] Fix lifetime of GlobalLogHandler (#3221) 2025-01-15 21:18:26 +01:00
Marc Alff e5a1a15296
[Code Health] Include what you use, part 6 (#3216) 2025-01-08 10:31:06 +01:00
Doug Barker 92bf8daad5
[SDK] Fix include instrumentation scope attributes in equal method (#3214) 2024-12-18 21:13:44 +01:00
Marc Alff c6d394547b
[Code Health] include-what-you-use cleanup, part 4 (#3040) 2024-09-11 21:05:32 +02:00
Siddhartha Malladi a71642fe67
[Code Health] Clang Tidy cleanup, Part 2 (#3038) 2024-08-25 19:58:32 +02:00
Weipeng Hong deed1e3a0c
[SDK] Fix memory leak in TlsRandomNumberGenerator() constructor (#2661) 2024-07-19 20:13:04 +02:00
Siddhartha Malladi eb2b9753ea
[Code Health] clang-tidy cleanup, part 1 (#2990) 2024-07-11 11:45:17 +02:00
Marc Alff 78947b2ab1
[SDK] DefaultLogHandler to print errors to std::cerr, add LogLevel::None (#2622) 2024-04-13 17:20:11 +02:00
WenTao Ou 0d1326a02e
Support protobuf 3.22 or upper (#2163) 2023-08-11 14:56:50 -07:00
Lalit Kumar Bhasin da333f8eba
[Metrics SDK] Performance improvement in measurement processing (#1993) 2023-03-04 04:59:42 +00:00
Marc Alff 392c3965ed
[EXPORTER] Boolean environment variables not parsed per the spec (#1982) 2023-02-16 17:30:36 -08:00
Marc Alff 6925fc4751
Fixed copyright for every file under sdk. (#1961) 2023-02-06 20:14:19 -08:00
Tom Tan 3f0eee6b91
Add option WITH_BENCHMARK to disable building benchmarks (#1794) 2022-11-23 17:01:33 -08:00
Marc Alff f29703b21c
Fixes #249 (#1677)
Fixed many remaining compiler warnings.
2022-10-13 20:56:17 +02: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
WenTao Ou 7e90dae3e4
Fix global log handle symbols when using dlopen (#1420) 2022-06-03 21:30:20 -07:00
Lalit Kumar Bhasin 63803d10c6
fix OTEL_INTERNAL_LOG_INFO (#1407) 2022-05-18 18:56:21 -07:00
Lalit Kumar Bhasin b6a28df5c4
Metrics SDK: Filtering metrics attributes (#1191) 2022-02-04 18:46:06 -08:00
WenTao Ou baab88ff21
Add log level for internal log of sdk (#1147) 2022-01-03 19:25:25 -08:00
Ehsan Saei 5aa632741d
Mark tags to bazel targets round 2 (#1094) 2021-12-15 18:50:04 -08:00
Tom Tan a9b2f9f53f
Fix race condition in circular buffer simulation test (#931) 2021-07-31 13:43:48 +05:30
WenTao Ou 521ebd8f51
+ Move `CORE_RUNTIME_LIBS` into dependency of `opentelemetry_api` (#850) 2021-06-12 21:29:37 +05:30
Tom Tan 1f5b886bc6
Check size equalness before comparing the whole producer/consumer arrays (#845) 2021-06-12 00:13:29 +05:30
Lalit Kumar Bhasin 3fa6525f40
Add missing Copyright headers (#754) 2021-05-25 11:37:08 +05:30
Bogdan Drutu 20db113ca3
Upgrade clang-format to 10.x, run ./tools/format.sh (#544) 2021-02-01 11:40:16 +05:30
Karen Xu c8db8476ef
Use attribute_utils.h from common instead of trace (#482) 2021-01-09 11:42:19 +05:30
Max Golovanov 1e7b9d8a95
Using STD library for API surface (#374) 2020-12-22 11:27:48 +05:30
Max Golovanov 2a516addb6
Build tools: build configurations, vcpkg support, vcpkg port file for OpenTelemetry, use submodules for CMake deps (#377) 2020-11-30 14:47:41 -08:00
Max Golovanov 7100f73644
Visual Studio compiler warnings clean-up (#315) 2020-09-09 14:33:49 -07:00
snehilchopra f0789be8aa
Added batch span processor with test coverage (#195) 2020-08-03 18:14:50 -07:00
Nadia Ciobanu b096d8e72f
Remove default parameters from Recordable interface (#208) 2020-07-27 19:04:38 -07:00
Johannes Tax 668bb8b21c
Fix AtomicSharedPtr for C++20 (#114) 2020-06-16 12:42:30 -07:00
Johannes Tax 273a0ae996
Add function to fill a buffer with random bytes (#87) 2020-06-05 14:59:42 -07:00
Ryan 6a2b03e9f5
Add Lock-free Circular buffer (#52)
* Add AtomicUniquePtr

* Add CircularBuffer

* Add circular buffer benchmark

* Reformat

* Add cmake support

* Reformat

* Fix for gcc48

* Fix typos

* Fix misname

* Update sdk/src/common/circular_buffer.h

Co-Authored-By: Reiley Yang <reyang@microsoft.com>

* Reformat

* Fix cmake linkage

Co-authored-by: Reiley Yang <reyang@microsoft.com>
2020-04-13 13:06:19 -07:00
Ryan 79d87c61c1
Add utility for generating random 64-bit numbers (#57)
* Add fork utility

* Add random number generator

* Add test coverage for random

* Add cmake build files

* Format

* Add missing noexcept

* Fix macro

* Add FastRandomNumberGenerator
2020-03-26 23:17:21 -07:00