Ah, right - I'm not suggesting we use Perfetto, rather I'm just generally curious about people's experience with these kinds of tools.
-David On Wed, Nov 17, 2021, at 13:00, Antoine Pitrou wrote: > > Le 16/11/2021 à 17:18, David Li a écrit : > > Following up here: I'm hoping we can enable this in 7.0.0 and am still > > working on getting all the builds passing (currently RPM packages fail to > > build with it enabled). OpenTelemetry released their v1.0.0 recently so > > that should not be a problem anymore. > > > > Some changes in approach: > > * For now, I've removed integration with Flight and any other components, > > focusing on just getting the builds working. I'll file follow-up issues for > > the Flight integration. > > * Unlike before, I'll change this to be built only when enabled, instead > > of always. Flight will implicitly enable OpenTelemetry once integrated. > > (Thanks to @Kou for questioning this.) > > * I'm now looking at using this for evaluating performance > > issues/bottlenecks in the C++ query engine, instead of/in addition to the > > original use case in Flight. I'm curious if others have used OpenTelemetry > > or similar libraries for this purpose before. I know tools like Perfetto > > [1] are similar in concept if not approach, and @Weston was experimenting > > with it for this purpose as well earlier in the thread. > > [1]: https://perfetto.dev/ > > Isn't OpenTelemetry language-agnostic while Perfetto is a C++-only > library? (or are the two interoperable?) > > It seems that being language-agnostic would make OpenTracing a better > fit for Arrow (ideally, one could mingle C++, Rust or Java calls and > trace them together). > > Regards > > Antoine. >