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

Opentracing / Opentelemetry Support #11246

Open
midnightconman opened this issue May 12, 2021 · 2 comments
Open

Opentracing / Opentelemetry Support #11246

midnightconman opened this issue May 12, 2021 · 2 comments

Comments

@midnightconman
Copy link

Description

How does the apache druid project feel about tracing support in Druid? As tracing gains more traction in the industry, more and more applications are relying on it to provide insight into the timings of the various functions and how long various activities take.

Opentelemetry is a pretty popular tracing library (with java) support these days : https://github.com/open-telemetry/opentelemetry-java

Motivation

The ability to send tracing data from druid components to a tracing provider / backend. This would help in tracking and improving function timing for druid.

@FrankChen021
Copy link
Member

This is an interesting topic. I'm going to do this in my Druid cluster to improve observability.

In contrast to provide such ability by Druid itself, it's highly recommended to use some non-intrusive(auto instrumentation) solutions such as PinPoint to achieve this goal. As I know, pinpoint works very well with Jetty used by Druid. If I understand correctly, open telemetry also provides auto instrumentation.

So the only thing we have to do is putting java agent of those tools mentioned above to the java command line of Druid services. But one thing that I think we need to make little change is at the peon command line. It's better to set different application name, which will be reflected at the observability platform, for each task based on their datasource so that it's more clear that a query goes into which task.

@manigarg31
Copy link

Any update on this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants