feat: Add tracing hook. #2121
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:11:10 [clang-diagnostic-error]:
/examples/hello-cpp-server-otel/main.cpp#L11
'opentelemetry/exporters/otlp/otlp_http_exporter_factory.h' file not found
|
|
/examples/hello-cpp-server-otel/main.cpp:73:44 [cppcoreguidelines-init-variables]:
/examples/hello-cpp-server-otel/main.cpp#L73
variable 'provider' is not initialized
|
|
/examples/hello-cpp-server-otel/main.cpp:71:54 [cppcoreguidelines-init-variables]:
/examples/hello-cpp-server-otel/main.cpp#L71
variable 'provider' is not initialized
|
|
/examples/hello-cpp-server-otel/main.cpp:54:28 [readability-implicit-bool-conversion]:
/examples/hello-cpp-server-otel/main.cpp#L54
implicit conversion 'size_t' (aka 'unsigned long') -> bool
|
|
/examples/hello-cpp-server-otel/main.cpp:54:9 [readability-implicit-bool-conversion]:
/examples/hello-cpp-server-otel/main.cpp#L54
implicit conversion 'const char *' -> bool
|
|
/examples/hello-cpp-server-otel/main.cpp:50:60 [cppcoreguidelines-init-variables]:
/examples/hello-cpp-server-otel/main.cpp#L50
variable 'opts' is not initialized
|
|
/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>0Qs4DaQAAAAC/jf7Zv32+Q7RDTl75KgqHUEhMMzBFREdFMDEwNwBFZGdl
|
|
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, 52, 53, 72, 73, 81, 82, 103, 104, 108, 109, 115, 116, 131, 143)
|
|
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, 57, 62, 63, 65, 69, 72, 78, 85, 86, 87, 89, 90, 91, 92, 97, 98, 110, 111, 123, 124, 125, 128, 129, 130, 131, 175, 178, 179, 181, 184, 185, 186, 192, 204, 205, 206, 207, 216, 219, 220, 221, 222, 223, 252, 253, 254, 258, 259, 260, 261, 262, 263, 264, 265, 284, 285, 286, 292, 293, 296, 301, 316, 332, 333, 334, 335, 338)
|