Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement https:/open-telemetry/opentelemetry-specification/pull/2452 #1456

Merged
merged 93 commits into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from 92 commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
e072daa
install sdk config (#1273)
esigo Mar 21, 2022
6ec1b59
Bump actions/cache from 2 to 3 (#1277)
dependabot[bot] Mar 22, 2022
b5155a5
Add owent as an Approver (#1276)
lalitb Mar 23, 2022
0c9aece
Disable benchmark action failure (#1284)
esigo Mar 24, 2022
3c7b44b
metrics exemplar round 1 (#1264)
esigo Mar 24, 2022
2c9ce39
[Metrics SDK] - fix spelling (AggregationTemporarily to AggregationTe…
lalitb Mar 24, 2022
91b0572
fix compilation error with protobuf 3.5 (#1289)
esigo Mar 25, 2022
c1b9590
Fix span SetAttribute crash (#1283)
esigo Mar 26, 2022
a7e814a
Synchronous Metric collection (Delta , Cumulative) (#1265)
lalitb Mar 30, 2022
76c664a
Rename `http_client_curl` to `opentelemetry_http_client_curl` (#1301)
owent Mar 31, 2022
2034c9b
Don't show coverage annotation for pull requests (#1304)
ThomsonTan Apr 1, 2022
33d9c62
Implement periodic exporting metric reader (#1286)
lalitb Apr 1, 2022
48a4060
Add `async-changes` branch to pull_request of github action (#1309)
owent Apr 4, 2022
be75bbc
Add InstrumentationInfo and Resource to the metrics data to be export…
lalitb Apr 4, 2022
237a0b2
Excempt should be applied on issue instead of PR (#1316)
ThomsonTan Apr 5, 2022
fd338cc
Bump codecov/codecov-action from 2.1.0 to 3 (#1318)
dependabot[bot] Apr 6, 2022
74ec691
Move public definitions into `opentelemetry_api`. (#1314)
owent Apr 7, 2022
6b87300
Add building test without RTTI (#1294)
owent Apr 7, 2022
3122254
Remove implicitly deleted default constructor (#1267)
benlandrum Apr 7, 2022
d72dcb6
[ETW Exporter] - ETW provider handle cleanup (#1322)
lalitb Apr 11, 2022
e200c1f
Bump actions/stale from 4 to 5 (#1323)
dependabot[bot] Apr 11, 2022
755f109
ostream metrics example (#1312)
esigo Apr 12, 2022
da2911c
Prepare v1.3.0 release (#1324)
ThomsonTan Apr 12, 2022
75c2a8f
Update yield logic for ARM processor (#1325)
lalitb Apr 12, 2022
e7f051e
Fix for #1292 (#1326)
juandemanjon Apr 14, 2022
29d68f1
Implement Merge and Diff operation for Histogram Aggregation (#1303)
lalitb Apr 14, 2022
e3304d7
fix metrics compiler warnings (#1328)
esigo Apr 15, 2022
defdfd2
Replace deprecated googletest API (#1327)
ThomsonTan Apr 15, 2022
2e9b7a1
Remove redundant tail / in CMake install (#1329)
ThomsonTan Apr 16, 2022
1d2cd42
dependencies image as artifact (#1333)
esigo Apr 18, 2022
b33dd09
metrics histogram example (#1330)
esigo Apr 18, 2022
7fde3bc
Link `opentelemetry_ext` with `opentelemetry_api` (#1336)
owent Apr 21, 2022
bf8f433
ostream metrics cmake (#1344)
esigo Apr 21, 2022
e6fb935
prometheus exporter (#1331)
esigo Apr 25, 2022
0c74e0b
remove exporter registration to meter provider (#1350)
lalitb Apr 25, 2022
33cb827
Bump github/codeql-action from 1 to 2 (#1351)
dependabot[bot] Apr 26, 2022
c917bed
Add explicit type cast in baggage UrlDecode (#1353)
ThomsonTan Apr 26, 2022
e233791
Fix scalar delete against array (#1356)
ThomsonTan Apr 27, 2022
3b9bfd4
conditional include for codecvt header (#1355)
lalitb Apr 27, 2022
72360b4
Add missing include guard (#1357)
yzsolt Apr 27, 2022
4008da5
Use latest TraceLoggingDynamic.h (#1354)
lalitb Apr 27, 2022
a4bd3b0
prometheus example (#1332)
esigo Apr 28, 2022
3a4a3a3
Fix output time in metrics OStream exporter (#1346)
ThomsonTan Apr 28, 2022
f314522
Simplify SDK Configuration: Use View with default aggregation if no m…
lalitb Apr 30, 2022
8ef6764
Fix class member initialization order (#1360)
lalitb Apr 30, 2022
c8bd431
codecov ignore (#1364)
esigo Apr 30, 2022
c1e6e16
export opentelemetry_otlp_recordable (#1365)
esigo May 2, 2022
13ac5c3
Disable test on prometheus-cpp which not need (#1363)
ThomsonTan May 2, 2022
9c734b3
Enable metric collection for Async Instruments - Delta and Cumulative…
lalitb May 3, 2022
59a48c1
fix baggage propagation for empty/invalid baggage context (#1367)
lalitb May 4, 2022
d3c4200
Fix empty tracestate header propagation (#1373)
yzsolt May 5, 2022
5458dde
Bump docker/setup-qemu-action from 1 to 2 (#1375)
dependabot[bot] May 6, 2022
99a72e1
Add noexcept/const qualifier at missing places for Trace API. (#1374)
lalitb May 6, 2022
a0d4a72
Bump docker/build-push-action from 2 to 3 (#1377)
dependabot[bot] May 6, 2022
0d27a43
Bump docker/setup-buildx-action from 1 to 2 (#1376)
dependabot[bot] May 6, 2022
02630e0
[Metrics SDK] Remove un-necessary files. (#1379)
lalitb May 7, 2022
54abc27
reuse temporal metric storage for sync storage (#1369)
lalitb May 9, 2022
95effbd
Prometheus exporter meters and instrument name (#1378)
esigo May 10, 2022
88e23ad
Fix sharing resource in batched exported spans (#1386)
ThomsonTan May 11, 2022
4b69a10
fix: missing link to nlohmann_json (#1390)
leodido May 13, 2022
3fd5ca3
Getting started document using ostream exporter (#1394)
esigo May 16, 2022
45f0235
Connect async storage with async instruments (#1388)
lalitb May 16, 2022
e11cc62
get span_id from context when Logger::Log received invalid span_id (…
hamedprog May 16, 2022
1e25d58
Alpine image (#1382)
esigo May 16, 2022
280f546
Upgrade proto to v0.17.0, update log data model (#1383)
owent May 17, 2022
09b92af
Prepare v1.4.0 release (#1404)
ThomsonTan May 18, 2022
ab084ec
Fix vcpkg package name in doc (#1392)
ThomsonTan May 18, 2022
a847d0c
Document Getting Started with Prometheus and Grafana (#1396)
esigo May 18, 2022
63803d1
fix OTEL_INTERNAL_LOG_INFO (#1407)
lalitb May 19, 2022
cd3655f
Merge branch 'merge_async-changes_into_main' into merge_main_into_asy…
owent May 20, 2022
0ef9446
fix: WaitOnSocket select error when sockfd above FD_SETSIZE (#1410)
May 21, 2022
5c8f476
[BUILD] fix nlohmann_json's (third party) include dir (#1415)
leodido May 24, 2022
0abf162
Merge remote-tracking branch 'opentelemetry/main' into merge_main_int…
owent May 25, 2022
9df5c4f
[Metrics API/SDK] - Pass state to async callback function. (#1408)
lalitb May 31, 2022
93ef013
Copy string_view passed to ETW exporter in PropertyVariant (#1425)
ThomsonTan Jun 2, 2022
81df64b
Fix ETW log exporter header inclusion (#1426)
lalitb Jun 2, 2022
62b65fa
[Metrics SDK] Only record non-negative / finite / Non-NAN histogram v…
lalitb Jun 3, 2022
7e90dae
Fix global log handle symbols when using dlopen (#1420)
owent Jun 4, 2022
c484d16
Merge remote-tracking branch 'opentelemetry/main' into async-changes
owent Jun 7, 2022
18991a6
Add attributes/dimensions to metrics ostream exporter (#1400)
lalitb Jun 7, 2022
473c931
Log current timestamp instead of epoch time (#1434)
ThomsonTan Jun 7, 2022
4c657a1
install sdk-config.h (#1419)
flier Jun 9, 2022
6ee70a7
Fix GettingStarted documentation for Jaeger HTTP exporter (#1347) (#1…
marcalff Jun 10, 2022
423a1a2
fix histogram (#1440)
lalitb Jun 10, 2022
33567b9
Upgrade nlohmann_json to 3.10.5 (#1438) (#1441)
marcalff Jun 10, 2022
2f0a3d6
Fixed broken link to OpenTelemetry.io (#1445) (#1446)
marcalff Jun 11, 2022
5ce608c
Merge remote-tracking branch 'opentelemetry/main' into merge_main_int…
owent Jun 15, 2022
2d78a56
Fix variables inizialization (#1430)
univisionsrl Jun 15, 2022
b4d47e1
Merge remote-tracking branch 'opentelemetry/main' into merge_main_int…
owent Jun 16, 2022
b75089a
Remove `AsyncBatch*Processor`, implement [opentelemetry-specification…
owent Jun 16, 2022
a4ec016
Remove invalid changelog
owent Jun 16, 2022
fe77084
Fix compiling problems without `ENABLE_ASYNC_EXPORT`
owent Jun 16, 2022
31dfd5a
Always return `ExportResult::kSuccess`
owent Jun 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ LICENSE* text
## git files
.gitignore text eol=lf
.gitattributes text eol=lf

## bazel files
WORKSPACE text eol=lf
BUILD text eol=lf
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Increment the:

## [Unreleased]

* [SDK] Async Batch Span/Log processor with max async support ([#1306](https:/open-telemetry/opentelemetry-cpp/pull/1306))
* [EXPORTER] OTLP http exporter allow concurrency session ([#1209](https:/open-telemetry/opentelemetry-cpp/pull/1209))
* [EXT] `curl::HttpClient` use `curl_multi_handle` instead of creating a thread
for every request and it's able to reuse connections now. ([#1317](https:/open-telemetry/opentelemetry-cpp/pull/1317))
* [METRICS] Only record non-negative / finite / Non-NAN histogram values([#1427](https:/open-telemetry/opentelemetry-cpp/pull/1427))

## [1.4.0] 2022-05-17

Expand Down
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ should include all the release notes from the Changelog for this release.
## Post Release

Update the OpenTelemetry.io document
[here](https:/open-telemetry/opentelemetry.io/tree/main/content/en/docs/cpp)
[here](https:/open-telemetry/opentelemetry.io/tree/main/content/en/docs/instrumentation/cpp)
by sending a Pull Request.
45 changes: 26 additions & 19 deletions api/include/opentelemetry/metrics/meter.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,26 @@ class Meter
nostd::string_view unit = "") noexcept = 0;

/**
* Creates a Asynchronouse (Observable) counter with the passed characteristics and returns a
* Creates a Asynchronous (Observable) counter with the passed characteristics and returns a
* shared_ptr to that Observable Counter
*
* @param name the name of the new Observable Counter.
* @param callback the function to be observed by the instrument.
* @param description a brief description of what the Observable Counter is used for.
* @param unit the unit of metric values following https://unitsofmeasure.org/ucum.html.
* @param callback the function to be observed by the instrument.
* @return a shared pointer to the created Observable Counter.
* @param state to be passed back to callback
*/
virtual void CreateLongObservableCounter(nostd::string_view name,
void (*callback)(ObserverResult<long> &),
void (*callback)(ObserverResult<long> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept = 0;
nostd::string_view unit = "",
void *state = nullptr) noexcept = 0;

virtual void CreateDoubleObservableCounter(nostd::string_view name,
void (*callback)(ObserverResult<double> &),
void (*callback)(ObserverResult<double> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept = 0;
nostd::string_view unit = "",
void *state = nullptr) noexcept = 0;

/**
* Creates a Histogram with the passed characteristics and returns a shared_ptr to that Histogram.
Expand All @@ -89,20 +91,22 @@ class Meter
* shared_ptr to that Observable Counter
*
* @param name the name of the new Observable Gauge.
* @param callback the function to be observed by the instrument.
* @param description a brief description of what the Observable Gauge is used for.
* @param unit the unit of metric values following https://unitsofmeasure.org/ucum.html.
* @param callback the function to be observed by the instrument.
* @return a shared pointer to the created Observable Gauge.
* @param state to be passed back to callback
*/
virtual void CreateLongObservableGauge(nostd::string_view name,
void (*callback)(ObserverResult<long> &),
void (*callback)(ObserverResult<long> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept = 0;
nostd::string_view unit = "",
void *state = nullptr) noexcept = 0;

virtual void CreateDoubleObservableGauge(nostd::string_view name,
void (*callback)(ObserverResult<double> &),
void (*callback)(ObserverResult<double> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept = 0;
nostd::string_view unit = "",
void *state = nullptr) noexcept = 0;

/**
* Creates an UpDownCounter with the passed characteristics and returns a shared_ptr to that
Expand All @@ -128,20 +132,23 @@ class Meter
* a shared_ptr to that Observable UpDownCounter
*
* @param name the name of the new Observable UpDownCounter.
* @param callback the function to be observed by the instrument.
* @param description a brief description of what the Observable UpDownCounter is used for.
* @param unit the unit of metric values following https://unitsofmeasure.org/ucum.html.
* @param callback the function to be observed by the instrument.
* @return a shared pointer to the created Observable UpDownCounter.
* @param state to be passed back to callback
*/
virtual void CreateLongObservableUpDownCounter(nostd::string_view name,
void (*callback)(ObserverResult<long> &),
void (*callback)(ObserverResult<long> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept = 0;
nostd::string_view unit = "",
void *state = nullptr) noexcept = 0;

virtual void CreateDoubleObservableUpDownCounter(nostd::string_view name,
void (*callback)(ObserverResult<double> &),
void (*callback)(ObserverResult<double> &,
void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept = 0;
nostd::string_view unit = "",
void *state = nullptr) noexcept = 0;
};
} // namespace metrics
OPENTELEMETRY_END_NAMESPACE
Expand Down
30 changes: 18 additions & 12 deletions api/include/opentelemetry/metrics/noop.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,17 @@ class NoopMeter final : public Meter
}

void CreateLongObservableCounter(nostd::string_view name,
void (*callback)(ObserverResult<long> &),
void (*callback)(ObserverResult<long> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
nostd::string_view unit = "",
void *state = nullptr) noexcept override
{}

void CreateDoubleObservableCounter(nostd::string_view name,
void (*callback)(ObserverResult<double> &),
void (*callback)(ObserverResult<double> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
nostd::string_view unit = "",
void *state = nullptr) noexcept override
{}

nostd::shared_ptr<Histogram<long>> CreateLongHistogram(
Expand All @@ -166,15 +168,17 @@ class NoopMeter final : public Meter
}

void CreateLongObservableGauge(nostd::string_view name,
void (*callback)(ObserverResult<long> &),
void (*callback)(ObserverResult<long> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
nostd::string_view unit = "",
void *state = nullptr) noexcept override
{}

void CreateDoubleObservableGauge(nostd::string_view name,
void (*callback)(ObserverResult<double> &),
void (*callback)(ObserverResult<double> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
nostd::string_view unit = "",
void *state = nullptr) noexcept override
{}

nostd::shared_ptr<UpDownCounter<long>> CreateLongUpDownCounter(
Expand All @@ -196,15 +200,17 @@ class NoopMeter final : public Meter
}

void CreateLongObservableUpDownCounter(nostd::string_view name,
void (*callback)(ObserverResult<long> &),
void (*callback)(ObserverResult<long> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
nostd::string_view unit = "",
void *state = nullptr) noexcept override
{}

void CreateDoubleObservableUpDownCounter(nostd::string_view name,
void (*callback)(ObserverResult<double> &),
void (*callback)(ObserverResult<double> &, void *),
nostd::string_view description = "",
nostd::string_view unit = "") noexcept override
nostd::string_view unit = "",
void *state = nullptr) noexcept override
{}
};

Expand Down
2 changes: 1 addition & 1 deletion api/include/opentelemetry/trace/span_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class SpanContext final

bool IsRemote() const noexcept { return is_remote_; }

static SpanContext GetInvalid() { return SpanContext(false, false); }
static SpanContext GetInvalid() noexcept { return SpanContext(false, false); }

bool IsSampled() const noexcept { return trace_flags_.IsSampled(); }

Expand Down
17 changes: 15 additions & 2 deletions bazel/repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ filegroup(
)
"""

#
# MAINTAINER
#
# This file is used for the Bazel build.
#
# When changing (add, upgrade, remove) dependencies
# please update:
# - the CMake build, see file
# <root>/third_party_release
# - git submodule, see command
# git submodule status
#

def opentelemetry_cpp_deps():
"""Loads dependencies need to compile the opentelemetry-cpp library."""

Expand Down Expand Up @@ -86,9 +99,9 @@ def opentelemetry_cpp_deps():
http_archive,
name = "github_nlohmann_json",
build_file = "@io_opentelemetry_cpp//bazel:nlohmann_json.BUILD",
sha256 = "69cc88207ce91347ea530b227ff0776db82dcb8de6704e1a3d74f4841bc651cf",
sha256 = "b94997df68856753b72f0d7a3703b7d484d4745c567f3584ef97c96c25a5798e",
urls = [
"https:/nlohmann/json/releases/download/v3.6.1/include.zip",
"https:/nlohmann/json/releases/download/v3.10.5/include.zip",
],
)

Expand Down
2 changes: 1 addition & 1 deletion cmake/nlohmann-json.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ExternalProject_Add(nlohmann_json_download
)

ExternalProject_Get_Property(nlohmann_json_download INSTALL_DIR)
SET(NLOHMANN_JSON_INCLUDE_DIR ${INSTALL_DIR}/third_party/src/nlohmann_json_download/single_include)
SET(NLOHMANN_JSON_INCLUDE_DIR ${INSTALL_DIR}/src/nlohmann_json_download/single_include)
add_library(nlohmann_json_ INTERFACE)
target_include_directories(nlohmann_json_ INTERFACE
"$<BUILD_INTERFACE:${NLOHMANN_JSON_INCLUDE_DIR}>"
Expand Down
4 changes: 2 additions & 2 deletions docs/public/sdk/GettingStarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ OpenTelemetry offers six tracing exporters out of the box:
opentelemetry::exporter::jaeger::JaegerExporterOptions opts;
opts.transport_format = opentelemetry::exporter::jaeger::TransportFormat::kThriftHttp;
opts.endpoint = "localhost";
opts.server_port = 6831;
opts.server_port = 14268;
opts.headers = {{}}; // optional headers
auto jaeger_udp_exporter =
auto jaeger_http_exporter =
std::unique_ptr<sdktrace::SpanExporter>(new opentelemetry::exporter::jaeger::JaegerExporter(opts));
Expand Down
3 changes: 2 additions & 1 deletion examples/common/logs_foo_library/foo_library.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ void foo_library()
auto ctx = span->GetContext();
auto logger = get_logger();
logger->Log(opentelemetry::logs::Severity::kDebug, "body", {}, ctx.trace_id(), ctx.span_id(),
ctx.trace_flags(), opentelemetry::common::SystemTimestamp());
ctx.trace_flags(),
opentelemetry::common::SystemTimestamp(std::chrono::system_clock::now()));
}
#endif
2 changes: 1 addition & 1 deletion examples/common/metrics_foo_library/foo_library.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ std::map<std::string, std::string> get_random_attr()
class MeasurementFetcher
{
public:
static void Fetcher(opentelemetry::metrics::ObserverResult<double> &observer_result)
static void Fetcher(opentelemetry::metrics::ObserverResult<double> &observer_result, void *state)
{
double val = (rand() % 700) + 1.1;
std::map<std::string, std::string> labels = get_random_attr();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ struct ElasticsearchExporterOptions
// Whether to print the status of the exporter in the console
bool console_debug_;

# ifdef ENABLE_ASYNC_EXPORT
bool asynchronous_mode_ = false;
# endif

/**
* Constructor for the ElasticsearchExporterOptions. By default, the endpoint is
* localhost:9200/logs with a timeout of 30 seconds and disabled console debugging
Expand All @@ -49,12 +53,19 @@ struct ElasticsearchExporterOptions
int port = 9200,
std::string index = "logs",
int response_timeout = 30,
bool console_debug = false)
: host_{host},
port_{port},
index_{index},
response_timeout_{response_timeout},
console_debug_{console_debug}
bool console_debug = false
# ifdef ENABLE_ASYNC_EXPORT
,
bool asynchronous_mode = false
# endif
)
: host_{host}, port_{port}, index_{index}, response_timeout_{response_timeout}, console_debug_
{
console_debug
}
# ifdef ENABLE_ASYNC_EXPORT
, asynchronous_mode_ { asynchronous_mode }
# endif
Copy link
Member

@lalitb lalitb Jun 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a thought - Is it necessary to keep the sync mode, or can we have async as default and only option? And ExportResult would always mean that exporter has received the event batch and uploading them. Upload may fail, in which case exporter will retry and eventually log the error.

Copy link
Member Author

@owent owent Jun 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OTLP may also need always return ExportResult::kSuccess and ignore the result of HTTP client.

{}
};

Expand Down Expand Up @@ -89,19 +100,6 @@ class ElasticsearchLogExporter final : public opentelemetry::sdk::logs::LogExpor
const opentelemetry::nostd::span<std::unique_ptr<opentelemetry::sdk::logs::Recordable>>
&records) noexcept override;

# ifdef ENABLE_ASYNC_EXPORT
/**
* Exports a vector of log records to the Elasticsearch instance asynchronously.
* @param records A list of log records to send to Elasticsearch.
* @param result_callback callback function accepting ExportResult as argument
*/
void Export(
const opentelemetry::nostd::span<std::unique_ptr<opentelemetry::sdk::logs::Recordable>>
&records,
std::function<bool(opentelemetry::sdk::common::ExportResult)> &&result_callback) noexcept
override;
# endif

/**
* Shutdown this exporter.
* @param timeout The maximum time to wait for the shutdown method to return
Expand Down
Loading