-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃殌 Feature]: Possibility of using opentelemetry-java-instrumentation #2138
Comments
@amardeep2006, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
In part of #2137, I updated the default protocol to |
The changes were motivated from a recent change in this repo https://github.com/manoj9788/tracing-selenium-grid |
Since in the upstream repo, tracing implementation with these dependencies https://github.com/SeleniumHQ/selenium/blob/trunk/java/maven_deps.bzl |
I perceive that the |
Yes that's what I was experimenting in one of my project. Javaagent does automatic byte code manipulation to generate telemetry data. I was also able to generate Traces and also relate span and traces with MDC in logs for correlation. |
I gave it a thought again and feel not a high value story to invest time for now as Selenium has Otel Sdk/java api based implementation. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Feature and motivation
This is just a discussion , I see that we are using following setup for Tracing:
Install coursier , use it to pull opentelemetry-exporter-otlp and opentelemetry-exporter-jaeger.
Recently I was exploring opentelemetry-java-instrumentation jar in one of my personal project and it felt a very non intrusive way of setting up the Tracing by autoinstrumentation. All I needed to do was download single jar from maven via curl, add it as Javagent under JAVA_OPTS and set few envt variables . It all felt very straight forward.
https://github.com/open-telemetry/opentelemetry-java-instrumentation
Since Jaeger has also deprecated Jaeger exporter in favour of OTLP so it should not be a big issue for existing Jaeger users. They have to migrate to OTLP protocol later or sooner.
Is this possible to do the same in selenium grid as well? Looking for pros and cons of doing this.
I am just Exploring the option/ feasibility as I am not very familiar with Selenium project's telemetry implementation.
Usage example
Standard approach for Tracing via OTLP protocol and Javaagent.
The text was updated successfully, but these errors were encountered: