dd-trace-go icon indicating copy to clipboard operation
dd-trace-go copied to clipboard

proposal: support github.com/riverqueue/river

Open wijayaerick opened this issue 11 months ago • 1 comments

river is a background job library written in Go. It would be great to add a native integration for this library.

River provides JobInsertMiddleware and WorkerMiddleware which can be used to inject/extract tracing data.

If this proposal is accepted, I'd be happy to contribute. I've created issue in the river repository as well (https://github.com/riverqueue/river/issues/709) which include initial draft for the implementation. One thing I'm not quite sure is what data should be included in the span tags; I think we could refer from delayed_job from dd-trace-rb as it's also a background job library.

wijayaerick avatar Jan 19 '25 10:01 wijayaerick

@wijayaerick Thanks for contributing! We'll be happy to review it once you open the PR in the repo.

darccio avatar Jan 21 '25 15:01 darccio