Skip to content

feat: Add tracing hook. #2115

feat: Add tracing hook.

feat: Add tracing hook. #2115

Triggered via pull request October 29, 2025 23:55
Status Success
Total duration 1m 28s
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:33:9 [modernize-macro-to-enum]: /examples/hello-cpp-server-otel/main.cpp#L33
macro 'INIT_TIMEOUT_MILLISECONDS' defines an integral constant; prefer an enum instead
/examples/hello-cpp-server-otel/main.cpp:33:9 [cppcoreguidelines-macro-usage]: /examples/hello-cpp-server-otel/main.cpp#L33
macro 'INIT_TIMEOUT_MILLISECONDS' used to declare a constant; consider using a 'constexpr' constant
/examples/hello-cpp-server-otel/main.cpp:29:9 [cppcoreguidelines-macro-usage]: /examples/hello-cpp-server-otel/main.cpp#L29
macro 'FEATURE_FLAG_KEY' used to declare a constant; consider using a 'constexpr' constant
/examples/hello-cpp-server-otel/main.cpp:26:9 [cppcoreguidelines-macro-usage]: /examples/hello-cpp-server-otel/main.cpp#L26
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>0qKkCaQAAAADJCnMYKSeJQ76ndsV3xQ3rREVOMzAxMDAwMTAyMDIzAEVkZ2U=
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, 38, 50, 51, 66, 73, 77, 83, 100, 118, 128, 139, 206, 207, 219, 221, 222, 223, 224, 234, 240)
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, 241, 248, 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, 64, 71, 72, 73, 75, 76, 77, 78, 83, 84, 96, 97, 109, 110, 111, 114, 115, 116, 117, 160, 163, 164, 166, 169, 170, 171, 177, 189, 190, 191, 192, 201, 204, 205, 206, 207, 208, 237, 238, 239, 243, 244, 245, 246, 247, 248, 249, 250, 269, 270, 271, 277, 278, 281, 286, 301, 317, 318, 319, 320, 323)