added decorators default config files
ADD
dd-java-agent/src/main/resources/dd-trace-decorators.yaml
+# Decorators are used to add extra information to span
+# Could be DBServiceDecorator, MapperDecorator or HTTPServiceDecorator
+decorators:
+ - type: HTTP
+ componentName: java-web-servlet
+ - type: HTTP
+ componentName: java-okhttp
+ desiredServiceName: http-client
+ - type: DB
+ componentName: java-mongo
+ desiredServiceName: mongo
+ - type: DB
+ componentName: java-jdbc
+ desiredServiceName: jdbc
+ - type: HTTP
+ componentName: java-aws-sdk
+ desiredServiceName: aws-client
\ No newline at end of file

ADD
dd-trace/src/main/resources/dd-trace-decorators.yaml
+# Decorators are used to add extra information to span
+# Could be DBServiceDecorator, MapperDecorator or HTTPServiceDecorator
+decorators:
+ # This span decorator leverages HTTP tags such as the URL requested
+ - type: HTTP
+ componentName: http
+ desiredServiceName: unnamed-java-http
+ # This span decorator leverages DB tags such as the statement requested
+ - type: DB
+ componentName: db
+ desiredServiceName: unnamed-java-db

ADD
dd-trace/src/test/resources/dd-trace-decorators.yaml
+decorators:
+ - type: HTTP
+ componentName: hello
+ desiredServiceName: world
\ No newline at end of file

added decorators default config files