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

ignoreStatements not working for opentracing-spring-cloud-mongo-starter #335

Open
PaKu5 opened this issue Dec 15, 2021 · 0 comments
Open

Comments

@PaKu5
Copy link

PaKu5 commented Dec 15, 2021

Hello,

I have the following dependencies in my spring-boot project:
<dependency> <groupId>io.opentracing.contrib</groupId> <artifactId>opentracing-spring-jaeger-web-starter</artifactId> <version>3.3.1</version> </dependency>

<dependency> <groupId>io.opentracing.contrib</groupId> <artifactId>opentracing-spring-cloud-feign-starter</artifactId> <version>0.5.9</version> </dependency>

<dependency> <groupId>io.opentracing.contrib</groupId> <artifactId>opentracing-spring-cloud-mongo-starter</artifactId> <version>0.5.9</version> </dependency>

Tracings works perfectly also for mongodb. But there is the problem that it always traces the db.statement and I didn't found a solution to avoid this.

Setting :
opentracing.spring.cloud.jdbc.ignoreStatements
did not work. Or maybe I'm using it wrong?

Thank you in advance!


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

1 participant