Skip to content

Commit

Permalink
Fix bazel build for OTLP file exporters
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Feb 19, 2024
1 parent 02f866a commit bd2462d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Increment the:

## [Unreleased]

* [EXPORTER] Add OTLP File exporters
[#2540](https://github.com/open-telemetry/opentelemetry-cpp/pull/2540)

## [1.14.0] 2024-02-16

* [BUILD] Add DLL build CI pipeline with CXX20
Expand Down
1 change: 1 addition & 0 deletions exporters/otlp/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ cc_test(
"test",
],
deps = [
":otlp_file_client",
":otlp_recordable",
"//api",
"@com_google_googletest//:gtest_main",
Expand Down
5 changes: 3 additions & 2 deletions exporters/otlp/test/otlp_file_log_record_exporter_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ class OtlpFileLogRecordExporterTestPeer : public ::testing::Test
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
char trace_id_hex[2 * opentelemetry::trace::TraceId::kSize] = {0};
opentelemetry::trace::TraceId trace_id{trace_id_bin};
uint8_t span_id_bin[opentelemetry::trace::SpanId::kSize] = {'7', '6', '5', '4',
'3', '2', '1', '0'};
uint8_t span_id_bin[opentelemetry::trace::SpanId::kSize] = {
// Fix clang-format 10 has different behavior for this line
'7', '6', '5', '4', '3', '2', '1', '0'};
char span_id_hex[2 * opentelemetry::trace::SpanId::kSize] = {0};
opentelemetry::trace::SpanId span_id{span_id_bin};

Expand Down

0 comments on commit bd2462d

Please sign in to comment.