apache / apache/camel-quarkus

Camel with opentelemetry - Context in storage not the expected context, Scope.close was not called correctly

Open
#5,761 17 comments 0 reactions 0 assignees View on GitHub
area/opentelemetry bug
Dominant language
Java
Stars
302
Forks
232
Avg merge
1d 20h
Merged PRs (30d)
114

Description

### Bug description

Describe the bug

Context in storage not the expected context, Scope.close was not called correctly

Expected behavior

Not receiving the warning

Actual behavior

Warning : Context in storage not the expected context, Scope.close was not called correctly

How to Reproduce?

when using version [3.0.0-M1] onwards it happens, dependency used:

org.apache.camel.quarkus camel-quarkus-opentelemetry 3.7.0Output of uname -a or ver

No response

Output of java -version

17

Quarkus version or git rev

3.2.10.Final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

How can I remove this warning since I am using a log collection and I do not want to show those warnings

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the warning with Java 17, Quarkus 3.2.10.Final, and the camel-quarkus-opentelemetry 3.7.0 dependency, comparing behavior from version 3.0.0-M1 onward. The issue does not name source files or tests; done means establishing why the context warning occurs and documenting or verifying a way to prevent it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.