opentracing-contrib / opentracing-contrib/java-spring-cloud
ignoreStatements not working for opentracing-spring-cloud-mongo-starter
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 399
- Forks
- 143
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 22
Description
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!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. Start by tracing how opentracing-spring-cloud-mongo-starter reads configuration and compare the attempted opentracing.spring.cloud.jdbc.ignoreStatements setting with Mongo-specific options. Done means a supported configuration prevents MongoDB db.statement tracing while other tracing continues.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, mongodb, spring-boot
- Domain
- backend, databases, observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100