David Li created ARROW-15044:
--------------------------------

             Summary: [C++] Add simple stdout/JSON exporter for OpenTelemetry
                 Key: ARROW-15044
                 URL: https://issues.apache.org/jira/browse/ARROW-15044
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: David Li


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 [https://github.com/open-telemetry/opentelemetry-cpp/pull/1111] for 
an example. See discussion on [https://github.com/apache/arrow/pull/11906] as 
well.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to