added decorators default config files
This commit is contained in:
parent
3f7d852a65
commit
8e165f37f0
|
@ -0,0 +1,17 @@
|
|||
# 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
|
|
@ -0,0 +1,11 @@
|
|||
# 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
|
|
@ -0,0 +1,4 @@
|
|||
decorators:
|
||||
- type: HTTP
|
||||
componentName: hello
|
||||
desiredServiceName: world
|
Loading…
Reference in New Issue