Skip to content

Eventlet monkey_patch with sentry #689

@Randomneo

Description

@Randomneo

eventlet version: 0.30.1
sentry_sdk version: 0.20.3
greenlet version: 1.0.0

After running this code I won't get any sentry messages. If I comment monkey_patch. Then all works. I couldn't find anything about how to fix it. I saw sentry/celery page about contextvars this. But in this issue was confirmed that contextvars works fine with new greenlet. Here simple example how to reproduce it.

import eventlet
import sentry_sdk

eventlet.monkey_patch()

sentry_sdk.init('<sentry_sdk_dsn>')
sentry_sdk.capture_message('aoe')

Is there some workarounds? Or maybe I missing something?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions