Put thundra-config.yml in your artifact, which is picked up from classpath automatically.
Set your Thundra API key.
Set your application name.
As an example, the thundra-config.yml can be put under the src/main/resources/ folder in the Maven project structure (a software project management tool) so the Thundra agent will be able to directly read its classpath.
The Thundra agent supports the following frameworks without any additional configuration needed:
Spring Web (4.x, 5.x)
Spring Boot (1.x, 2.x)
For other applications, the entry point for traces should be specified programmatically (by annotation) or declaratively (by YML configuration).
With @Traceable annotation, you can specify the entry point (where the transaction starts) of the trace programmatically, as shown in the example below:
With the thundra.agent.trace.instrument.traceableConfig property in the thundra-config.yml, you can specify the entry point (where the transaction starts) of the trace declaratively, as shown in the example below: