Closed
Description
The suggested approach is to use Micrometer Observation bridge since all Spring projects are using that for instrumentation. One can then use Micrometer OTLP Meter Registry to be OTLP compatible. For Tracing, Micrometer Tracing is suggested with either Brave (once this projects is released in GA) or OTel bridge, in order to be OTLP compliant.
Usage of Agent is discouraged due to various restrictions:
- OpenTelemetry Java Instrumentation project contains multiple
alpha
JARs (e.g. check the release notes) - You can't create a native image when using the agent
- Spring Boot OTel configuration is maintained by the Spring Boot team, other auto configurations may not be compatible with Spring Boot supported solutions
- Agent instrumentation is buggy (e.g. issue)