Commit Graph

92 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
Marc Alff a530f5ec31
[BUILD] remove unused WITH_CURL build flag (#3429) 2025-05-21 09:12:53 +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
WenTao Ou edfeabe4ce
Add link directory to support curl 8.12 (#3272) 2025-03-05 18:37:32 +01:00
Marc Alff 5bc053e522
[SDK] Support OTEL_SDK_DISABLED environment variable (#3245) 2025-02-05 21:42:51 +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 e5a1a15296
[Code Health] Include what you use, part 6 (#3216) 2025-01-08 10:31:06 +01:00
Alex E. 0b94d71258
[EXPORTER] Optimize OTLP HTTP compression (#3178) 2024-12-18 17:48:05 +01:00
xiehuc 2b9bff9688
[SDK] Do not frequently create and destroy http client threads (#3198) 2024-12-18 10:22:09 +01:00
WenTao Ou 8b418fee83
[TEST] Change `is_called_` and `got_response_` to use atomic (#3204) 2024-12-13 14:41:46 +01:00
Marc Alff d15da3b256
[Code health] Include what you use cleanup, part 5 (#3140) 2024-11-27 11:57:47 +01:00
Volodymyr Kolesnykov 4341e1237e
[TEST] refactor UrlParser tests to use value-paramterized tests (#3153) 2024-11-22 22:50:10 +01:00
Volodymyr Kolesnykov 4d9cc288d5
[EXPORTER] fix clang-tidy warnings in UrlParser (#3146) 2024-11-19 22:13:08 +01:00
Volodymyr Kolesnykov 149d29ca78
[EXPORTER] handling of invalid ports in UrlParser (#3142) 2024-11-14 19:06:39 +01:00
Pranav Sharma 1863fe723d
[TEST] Rename w3c_tracecontext_test to w3c_tracecontext_http_test_server (#3132) 2024-11-08 20:58:52 +01:00
Pranav Sharma be1f43ca00
[API] Comply with W3C Trace Context (#3115) 2024-11-06 18:35:40 +01:00
WenTao Ou 1185405c46
[TEST] Fix linking order and gmock linking (#3106)
* Fix link order

* Fix gmock linking
2024-10-18 12:20:42 +02:00
WenTao Ou 3910b049c1
Fix URL in ES exporter, fix ipv6 supporting for http client. (#3081) 2024-10-07 09:03:21 +02: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
Siddhartha Malladi eb2b9753ea
[Code Health] clang-tidy cleanup, part 1 (#2990) 2024-07-11 11:45:17 +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
Johannes Tax e5c2e25144
Support URL-encoded values for `OTEL_EXPORTER_OTLP_HEADERS` (#2579) 2024-03-07 07:16:16 -08:00
Harish 07f6cb54ec
[EXPORTER] Gzip compression support for OTLP/HTTP and OTLP/gRPC exporter (#2530) 2024-02-29 18:42:25 +01:00
Marc Alff 51c2ee5679
[REMOVAL] Remove option WITH_OTLP_HTTP_SSL_PREVIEW (#2435) 2023-12-14 00:37:31 +01:00
Marc Alff 9f6d1453e7
[REMOVAL] Remove ZPAGES (#2433) 2023-12-06 01:25:11 +01:00
Marc Alff ad626cec45
[BUILD] Need fine-grained HAVE_CPP_STDLIB (#2304) 2023-09-28 10:25:51 +02:00
Lalit Kumar Bhasin d3799a63ff
use ubuntu-latest for tsan CI (#2267) 2023-08-21 20:31:07 +00:00
Marc Alff 0c5f90dea5
[SDK] Valgrind errors on std::atomic variables (#2244) 2023-07-22 16:51:57 +02:00
Marc Alff 8b613188a3
[SDK] TracerProvider should own TracerContext, not share it (#2221) 2023-07-08 16:07:38 +02:00
Cengizhan Pasaoglu cfcda5728e
[SDK] Header files cleanup, use forward declarations (#2182) 2023-06-21 00:11:31 +02:00
Marc Alff 0e52dfdb15
[EXPORTER] Add OTLP HTTP SSL support (#1793) 2023-04-05 09:59:15 -07:00
Marc Alff 392c3965ed
[EXPORTER] Boolean environment variables not parsed per the spec (#1982) 2023-02-16 17:30:36 -08:00
Tom Tan b364dce27b
Update copyright for the remaining repo (#1963) 2023-02-07 06:08:51 -08:00
Marc Alff 0305ad8e4c
Cleanup CMake makefiles for CURL usage (#1916) 2023-01-17 07:05:59 -08:00
Marc Alff 75f3900a83
Fix OTELCPP_MAINTAINER_MODE (#1844) 2022-12-09 10:51:18 -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
Ehsan Saei d29934819f
Fix code scanning alert (#1530) 2022-08-03 18:36:23 +00:00
wangzhen2271 a77ec80312
fix: urlPaser will incorrect parsing url like http://abc.com/xxx@xxx/a/b (#1511)
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
2022-07-22 08:53:34 -07:00
WenTao Ou 4762910eab
Merge branch 'merge_main_into_async-changes' into merge_async-changes_into_main (#1413) 2022-07-08 22:16:01 -07:00
WenTao Ou 76c664a20b
Rename `http_client_curl` to `opentelemetry_http_client_curl` (#1301)
Signed-off-by: owent <admin@owent.net>
2022-03-31 11:51:26 -07:00
WenTao Ou c96a3e32f0
Reorder the destructor of members in LoggerProvider and TracerProvider (#1245) 2022-03-08 10:17:02 -08:00
Ehsan Saei 9157fd4748
Mock for http exporters (#1185) 2022-02-19 02:12:02 -08:00
WenTao Ou bc1b469c72
Waiting a longer time when run unit tests of http client, which may take a long time when run under valgrind. (#1171) 2022-01-15 21:07:01 -08:00
Ehsan Saei 5aa632741d
Mark tags to bazel targets round 2 (#1094) 2021-12-15 18:50:04 -08:00
Ehsan Saei 6e249fd560
build release tarball when nlohmann-json not installed (#1074) 2021-11-19 09:25:00 -08:00
Paurush Garg 9772156789
fix: issue 368- consistent namespace scope resolution (#1008) 2021-11-15 19:53:34 -08:00
Lalit Kumar Bhasin 55a651759d
Fix nlohmann_json package dependency (#1017) 2021-10-19 12:36:49 -07:00