Skip to content

Commit

Permalink
fix: MacOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Nov 20, 2024
1 parent 747b429 commit b006b8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exporters/elasticsearch/test/es_log_record_exporter_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

#include "opentelemetry/exporters/elasticsearch/es_log_record_exporter.h"
#include "opentelemetry/common/timestamp.h"
#include "opentelemetry/exporters/elasticsearch/es_log_recordable.h"
#include "opentelemetry/logs/severity.h"
#include "opentelemetry/nostd/span.h"
Expand Down Expand Up @@ -104,10 +105,9 @@ TEST(ElasticsearchLogRecordableTests, BasicTests)
{"observedtimestamp", expected_observed_ts},
{"stringlist", {stringlist[0], stringlist[1]}}};

const std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds> now{
std::chrono::nanoseconds(expected_observed_ts)};
const opentelemetry::common::SystemTimestamp now{std::chrono::nanoseconds(expected_observed_ts)};

auto scope =
const auto scope =
opentelemetry::sdk::instrumentationscope::InstrumentationScope::Create(expected_scope_name);

opentelemetry::exporter::logs::ElasticSearchRecordable recordable;
Expand Down

0 comments on commit b006b8d

Please sign in to comment.