Skip to content

dynatrace auto instrumenation java application  #3270

@MadhuSudhanaSairam

Description

@MadhuSudhanaSairam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions