Skip to content

Commit

Permalink
Merge pull request #134 from zalando/feature/configuration-metadata
Browse files Browse the repository at this point in the history
Added spring configuration metadata file
  • Loading branch information
whiskeysierra authored Jul 4, 2018
2 parents 14c42ea + ca935ac commit ea3ad3c
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tracer-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"hints": [],
"groups": [
],
"properties": [
{
"name": "tracer.filter.enabled",
"type": "java.lang.Boolean",
"defaultValue": true,
"description": "Enables/disables servlet filter support."
},
{
"name": "tracer.aspect.enabled",
"type": "java.lang.Boolean",
"defaultValue": true,
"description": "Enables/disables AOP support for @Traced."
},
{
"name": "tracer.mdc.enabled",
"type": "java.lang.Boolean",
"defaultValue": true,
"description": "Enables/disables support for Slf4j's MDC."
},
{
"name": "tracer.logging.enabled",
"type": "java.lang.Boolean",
"defaultValue": true,
"description": "Enables/disables logging of traces being started and stopped."
},
{
"name": "tracer.scheduling.enabled",
"type": "java.lang.Boolean",
"defaultValue": true,
"description": "Enables/disables @Scheduled support."
},
{
"name": "tracer.async.enabled",
"type": "java.lang.Boolean",
"defaultValue": true,
"description": "Enables/disables @Async support."
},
{
"name": "tracer.scheduling.pool-size",
"type": "java.lang.Integer",
"defaultValue": 0,
"description": "Specifies the thread pool size for the task scheduler, if no scheduler was provided. Defaults to number of processors."
}
]
}

0 comments on commit ea3ad3c

Please sign in to comment.