Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrumentation for Reactive Mongo Driver #18

Open
privettoli opened this issue Jun 25, 2020 · 2 comments
Open

Instrumentation for Reactive Mongo Driver #18

privettoli opened this issue Jun 25, 2020 · 2 comments

Comments

@privettoli
Copy link
Contributor

privettoli commented Jun 25, 2020

I'm sorry if this is answered in documentation
I was unable to find any information on instrumentation support of Mongo Reactive driver (org.mongodb:mongodb-driver-reactivestreams)
Is this currently not implemented?

@privettoli
Copy link
Contributor Author

privettoli commented Jun 26, 2020

Was able to setup it this way:

@Bean
public MongoClientSettingsBuilderCustomizer reactiveStreamsMongoClientSettingsBuilderCustomizer(Tracer tracer) {
  return builder -> builder.addCommandListener(new TracingCommandListener.Builder(tracer).build());
}

My problem solved, but the question is still valid.

@malafeev
Copy link

yes, it's definitely missing part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants