apache / pinot

Apache Pinot - A realtime distributed OLAP datastore
https://pinot.apache.org/
Apache License 2.0
5.42k stars 1.27k forks source link

Otel / Open Telemetry for logs, metrics, traces and profiling #12840

Open hpvd opened 5 months ago

hpvd commented 5 months ago

couldn't find an issue regarding Otel support in Pinots repository, https://github.com/apache/pinot/issues?q=is%3Aissue+otel

-> so I just wanted to give a starting point and some input for discussion :-)

With OpenTelemetry announces support for profiling with bidirectional linking to logs, metrics and traces https://www.cncf.io/blog/2024/03/19/opentelemetry-announces-support-for-profiling/

and it is on the way to be suitable for low latency systems progress on this is tracked in the parent issues within Apache Pulsar (which is the motivating use case) https://github.com/apache/pulsar/issues/21121

and since it's somehow becoming the go to standard with an ever-growing number of integration see https://opentelemetry.io/ecosystem/integrations/

=> it may also be very interesting and valuable for Pinot...

hpvd commented 5 months ago

maybe also interesting: Elastic offers to donated their eBPF-based continuous profiling agent to OTel https://github.com/open-telemetry/community/issues/1918

"We're introducing native correlation between continuous profiling signals and OTel traces, starting with Java."

this is the background (and ad) article on this, to show the use case: "Pinpointing performance culprits with continuous profiling and distributed tracing correlation" https://www.elastic.co/de/blog/continuous-profiling-distributed-tracing-correlation

Regarding time plan for expecting profiling in OTel: "I would guess this to be rather a matter of several months (from March 27th, 2024) until we have a first, fully integrated version of the profiling agent / functionality (depending on the review result, the concrete realization plans, etc.)." https://github.com/open-telemetry/community/issues/1918#issuecomment-2022827162

Jackie-Jiang commented 5 months ago

cc @zhtaoxiang @xiangfu0