feat: Add tracing hook. #2118
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: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:55:28 [readability-implicit-bool-conversion]:
/examples/hello-cpp-server-otel/main.cpp#L55
implicit conversion 'size_t' (aka 'unsigned long') -> bool
|
|
/examples/hello-cpp-server-otel/main.cpp:55:9 [readability-implicit-bool-conversion]:
/examples/hello-cpp-server-otel/main.cpp#L55
implicit conversion 'const char *' -> bool
|
|
/examples/hello-cpp-server-otel/main.cpp:51:60 [cppcoreguidelines-init-variables]:
/examples/hello-cpp-server-otel/main.cpp#L51
variable 'opts' is not initialized
|
|
/examples/hello-cpp-server-otel/main.cpp:34:9 [modernize-macro-to-enum]:
/examples/hello-cpp-server-otel/main.cpp#L34
macro 'INIT_TIMEOUT_MILLISECONDS' defines an integral constant; prefer an enum instead
|
|
/examples/hello-cpp-server-otel/main.cpp:34:9 [cppcoreguidelines-macro-usage]:
/examples/hello-cpp-server-otel/main.cpp#L34
macro 'INIT_TIMEOUT_MILLISECONDS' used to declare a constant; consider using a 'constexpr' constant
|
|
|
|
/examples/hello-cpp-server-otel/main.cpp:30:9 [cppcoreguidelines-macro-usage]:
/examples/hello-cpp-server-otel/main.cpp#L30
macro 'FEATURE_FLAG_KEY' used to declare a constant; consider using a 'constexpr' constant
|
|
/examples/hello-cpp-server-otel/main.cpp:27:9 [cppcoreguidelines-macro-usage]:
/examples/hello-cpp-server-otel/main.cpp#L27
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>0wMgDaQAAAAAc6HZg/Wa6QIMq8hgG9JUFRE0yRURHRTEwMTUARWRnZQ==
|
|
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, 58, 63, 65, 69, 72, 78, 85, 86, 87, 89, 90, 91, 92, 97, 98, 110, 111, 123, 124, 125, 128, 129, 130, 131, 174, 177, 178, 180, 183, 184, 185, 191, 203, 204, 205, 206, 215, 218, 219, 220, 221, 222, 251, 252, 253, 257, 258, 259, 260, 261, 262, 263, 264, 283, 284, 285, 291, 292, 295, 300, 315, 331, 332, 333, 334, 337)
|