Skip to content

Seeing deadlocks when this app tries to forward events back to sentry

Notifications You must be signed in to change notification settings

LaikaStudios/actix-tracing-sentry-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An actix-web app using a combination of

Roughly patching together a subscriber setup from a combination of the docs/readmes for tracing, tracing-actix-web, and sentry (specifically sentry-tracing) it appears there's some sort of deadlock when the sentry client tries to send events home.

Running without a sentry dsn seems to work, but curling any of the endpoints when it is will hang your terminal.

Per the guidance from tracing-actix-web, the stdout will be formatted in json and can be pretty-printed when piped through bunyan. cargo install bunyan is sufficient for log tailing.

To run:

# No sentry dsn configured
$ cargo run
# or with the sentry dsn:
$ SENTRY_DSN=******** cargo run

Then, take your pick of:

$ curl http://localhost:7878/panic
$ curl http://localhost:7878/err
$ curl http://localhost:7878/event

About

Seeing deadlocks when this app tries to forward events back to sentry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published