-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Unexpected call to Scope::detach() for scope #XXXX, scope successfully detached but another scope should have been detached first #419
Comments
@dgafka maybe we should use OTEL_PHP_DEBUG_SCOPES_DISABLED=true? |
TracerInterceptor } catch (Throwable $exception) {
$scope->detach();
throw $exception;
} Maybe we should add try catch for |
} finally {
$scope->detach();
} Maybe it also be better instead of 2 code blocks with |
Can you provide a failure test case for this? |
@dgafka At this point we have completely abandoned OpenTelemetry |
@lifinsky what do you use instead, and was this bug only the cause to abandon that? |
@dgafka At the moment, only Sentry. I would like to improve OpenTelemetry specifically in Ecotone and in general for Symfony logging (for example http routes), Doctrine and DBAL SQL queries, projection update execution, information on retries especially with a delay or getting into a dead letter. Probably, with better basic functionality, we could already add logging of http calls at the application level. |
I might give this package some more time for stability https://github.com/FriendsOfOpenTelemetry/opentelemetry-bundle |
Ecotone version(s) affected: latest
Description
Error thrown while running command "ecotone:run db". Message: "User Notice: Scope: unexpected call to Scope::detach() for scope #11818, scope successfully detached but another scope should have been detached first"
Context
The text was updated successfully, but these errors were encountered: