diff --git a/tracer-spring-boot-starter/pom.xml b/tracer-spring-boot-starter/pom.xml index 3b565d60..0226217d 100644 --- a/tracer-spring-boot-starter/pom.xml +++ b/tracer-spring-boot-starter/pom.xml @@ -97,6 +97,11 @@ + + org.springframework.boot + spring-boot-configuration-processor + provided + org.springframework.boot spring-boot-starter-test diff --git a/tracer-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/tracer-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json new file mode 100644 index 00000000..cfb8bbc6 --- /dev/null +++ b/tracer-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -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." + } + ] +}