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

JAVA-3148: Implementing OpenTelemetry for Observability #2021

Open
wants to merge 14 commits into
base: 4.x
Choose a base branch
from

Conversation

SiyaoIsHiding
Copy link
Contributor

On top of #1949
We need to merge that one first before we merge this one.

Here is an example system using this branch. We should find a better place to put that project than under my name.

}

@Nullable
private Field getProxyAddressField() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not need to do that on our own code base. AFAIK, we should just add getter in SniEndPoint.

public OtelRequestTracker(OpenTelemetry openTelemetry) {
this.tracer =
openTelemetry.getTracer("com.datastax.oss.driver.internal.core.tracker.OtelRequestTracker");
this.threadPool =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add thread pool as optional constructor parameter. There are multiple parameters that may vary between applications.

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

Successfully merging this pull request may close these issues.

2 participants