Skip to content

feat: Add tracing hook. #2102

feat: Add tracing hook.

feat: Add tracing hook. #2102

Triggered via pull request October 29, 2025 19:39
Status Success
Total duration 2m 50s
Artifacts

cpp-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 12 warnings, and 4 notices
/libs/server-sdk-otel/tests/tracing_hook_test.cpp:8:10 [clang-diagnostic-error]: /libs/server-sdk-otel/tests/tracing_hook_test.cpp#L8
'launchdarkly/server_side/integrations/otel/tracing_hook.hpp' file not found
/libs/server-sdk-otel/src/tracing_hook.cpp:6:10 [clang-diagnostic-error]: /libs/server-sdk-otel/src/tracing_hook.cpp#L6
'launchdarkly/server_side/integrations/otel/tracing_hook.hpp' file not found
/examples/hello-cpp-server-otel/main.cpp:12:10 [clang-diagnostic-error]: /examples/hello-cpp-server-otel/main.cpp#L12
'opentelemetry/exporters/otlp/otlp_http_exporter_factory.h' file not found
/examples/hello-cpp-server-otel/main.cpp:81:31 [readability-identifier-length]: /examples/hello-cpp-server-otel/main.cpp#L81
variable name 'rd' is too short, expected at least 3 characters
/examples/hello-cpp-server-otel/main.cpp:35:9 [modernize-macro-to-enum]: /examples/hello-cpp-server-otel/main.cpp#L35
macro 'INIT_TIMEOUT_MILLISECONDS' defines an integral constant; prefer an enum instead
/examples/hello-cpp-server-otel/main.cpp:35:9 [cppcoreguidelines-macro-usage]: /examples/hello-cpp-server-otel/main.cpp#L35
macro 'INIT_TIMEOUT_MILLISECONDS' used to declare a constant; consider using a 'constexpr' constant
/examples/hello-cpp-server-otel/main.cpp:31:9 [cppcoreguidelines-macro-usage]: /examples/hello-cpp-server-otel/main.cpp#L31
macro 'FEATURE_FLAG_KEY' used to declare a constant; consider using a 'constexpr' constant
/examples/hello-cpp-server-otel/main.cpp:28:9 [cppcoreguidelines-macro-usage]: /examples/hello-cpp-server-otel/main.cpp#L28
macro 'SDK_KEY' used to declare a constant; consider using a 'constexpr' constant
cpp-linter
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0em0CaQAAAABCTKVHlYZsS7aPc+TXJYTnUEFPRURHRTA1MDgARWRnZQ==
cpp-linter
Failed to restore: Cache service responded with 400
Run clang-format on libs/server-sdk-otel/tests/tracing_hook_test.cpp: libs/server-sdk-otel/tests/tracing_hook_test.cpp#L0
File libs/server-sdk-otel/tests/tracing_hook_test.cpp does not conform to Custom style guidelines. (lines 15, 26, 51, 52)
Run clang-format on libs/server-sdk-otel/src/tracing_hook.cpp: libs/server-sdk-otel/src/tracing_hook.cpp#L0
File libs/server-sdk-otel/src/tracing_hook.cpp does not conform to Custom style guidelines. (lines 8, 52, 84, 135, 220, 223, 224, 247)
Run clang-format on libs/server-sdk-otel/include/launchdarkly/server_side/integrations/otel/tracing_hook.hpp: libs/server-sdk-otel/include/launchdarkly/server_side/integrations/otel/tracing_hook.hpp#L0
File libs/server-sdk-otel/include/launchdarkly/server_side/integrations/otel/tracing_hook.hpp does not conform to Custom style guidelines. (lines 9, 32, 71, 75, 80, 155, 165, 171, 290, 295, 296)
Run clang-format on examples/hello-cpp-server-otel/main.cpp: examples/hello-cpp-server-otel/main.cpp#L0
File examples/hello-cpp-server-otel/main.cpp does not conform to Custom style guidelines. (lines 1, 55, 56, 57, 71, 72, 73, 75, 76, 77, 78, 83, 90, 95, 106, 107, 108, 111, 112, 113, 126, 154, 157, 158, 159, 162, 163, 164, 182, 183, 184, 191, 193, 196, 197, 198, 227, 228, 229, 233, 234, 235, 236, 237, 238, 256, 257, 258, 260, 262, 263, 266, 270, 274, 283, 294, 298, 299, 302)