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

dynatrace auto instrumenation java application #3270

Closed
MadhuSudhanaSairam opened this issue Sep 22, 2022 · 1 comment
Closed

dynatrace auto instrumenation java application #3270

MadhuSudhanaSairam opened this issue Sep 22, 2022 · 1 comment

Comments

@MadhuSudhanaSairam
Copy link

I installed oneagent, and I enabled,
From the Dynatrace menu, go to Settings > Preferences > OneAgent features

SET OTEL_RESOURCE_ATTRIBUTES="service.name=pet-quickstart,service.version=1.0.1"
SET OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf
SET OTEL_METRICS_EXPORTER=none

For auto instruementation of java application (distributed trace)
The following command is not generating/exporting traces to dynatrace
C:>java -javaagent:./opentelemetry-javaagent.jar -Dotel.service.name=PET-dyna -jar target/petclinic.jar

@Flarna
Copy link
Member

Flarna commented Sep 22, 2022

@MadhuSudhanaSairam Please note that you created an issue in OTel JS repo JavaScript not Java. I doubt this was intended.

Besides that I recommend to get in contact with Dynatrace Support regarding this as it looks like a dynatrace specific issue not a generic OTel topic.

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

No branches or pull requests

2 participants