tobymao / saq

Simple Async Queues
https://saq-py.readthedocs.io/en/latest/
MIT License
580 stars 39 forks source link

Better support for context propagation #18

Closed barakalon closed 2 years ago

barakalon commented 2 years ago

This should be able to handle most cases of context propagation between jobs.

This doesn't have a strong opinion on what context is propagated and instead just allows for arbitrary metadata. This should work for OpenTracing, DataDog tracing, asgi-correlation-id, etc.

@tobymao @sondrelg

sondrelg commented 2 years ago

I've finally gotten around to implementing this myself. It looks great @barakalon! Will add saq-docs to asgi-correlation-id shortly in https://github.com/snok/asgi-correlation-id/pull/47 👍