Skip to content

Deprecate Micrometer Tracing code in favor of tracing in MongoDB driver #5009

Open
@mp911de

Description

@mp911de

We should deprecated our Micrometer Tracing implementation in favor of MongoDB's OpenTelemetry implementation in the driver. MongoObservationCommandListener.

Observation through MongoObservationCommandListener creates distributed tracing spans including context propagation and it creates long-task timers (e.g. spring.data.mongodb.command.active) that are sent to observability systems (e.g. Prometheus) using a set of tags.

Having an implementation on the Spring Data level while Spring Boot configures a different metrics implementation (see #4926) is unfortunate and that can be solved by having metrics and tracing directly within the driver.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions