Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 1.11 KB

README.md

File metadata and controls

42 lines (36 loc) · 1.11 KB

dynatrace-dubbo-demo

the project is to provide a demo application to showcase distributed tracing across dubbo application by dynatrace appmon

build

build project with maven

mvn clean install

run

  1. start Apache Zookeeper.
  2. start dubbo-demo-consumer.
cd dynatrace-dubbo-demo\dubbo-demo-consumer\target
java -jar dubbo-demo-consumer-*.RELEASE.jar
  1. start dubbo-demo-provider.
cd dynatrace-dubbo-demo\dubbo-demo-provider\target
java -jar dubbo-demo-provider-*.RELEASE.jar

test

http://localhost:8080/dubbo/home

monitor (optional)

to mintor the application with dynatrace appmon. add jvm argument to dubbo consumer.

-agentpath:"C:\Program Files\dynaTrace\agent\lib64\dtagent.dll"=name=dubbo-consumer,server=localhost

add jvm argument to dubbo provider.

-agentpath:"C:\Program Files\dynaTrace\agent\lib64\dtagent.dll"=name=dubbo-provider,server=localhost

topology & method level tracing

automatical discovered topology by dynatrace appmon PurePath