Skip to content

Explain difference between OTel agent and Micrometer instrumentations #41227

Closed
@marcingrzejszczak

Description

@marcingrzejszczak

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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions