Skip to content

[C++] Add simple stdout/JSON exporter for OpenTelemetry #30561

@asfimport

Description

@asfimport

While it is odd for a library to configure OpenTelemetry exporters, there is a reason for this: the actual end-user is unable to configure it directly (as we use the C++ implementation, and the user is likely in Python or R), and often the "important" bits are all in C++, so it would be nice to have a way to dump the information collected.

On top of that, it would be nice to dump the data in an easily parseable format for further consumption.

We should enable the ostream exporter, as well as a custom exporter that dumps JSON. See open-telemetry/opentelemetry-cpp#1111 for an example. See discussion on #11906 as well.

Reporter: David Li / @lidavidm
Assignee: David Li / @lidavidm

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-15044. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions