opencensus-python icon indicating copy to clipboard operation
opencensus-python copied to clipboard

Celery Integration

Open zoidyzoidzoid opened this issue 7 years ago • 7 comments

Is this something we'd want to support as part of this library?

Datadog's integration uses Celery task signals for it.

zoidyzoidzoid avatar Oct 22 '18 08:10 zoidyzoidzoid

There's some pending work to support pubsub/task queues/etc. in general, but nothing concrete yet as far as I know. It looks like the datadog integration persists trace data for celery tasks, does it also emit spans for the time that tasks sit in the queue?

I think it would be awesome to instrument celery, and I'd like to hear your (and others') impressions using the datadog integration.

c24t avatar Nov 16 '18 20:11 c24t

As I recall no, the Datadog tracing does not incorporate time spent in the queue. IIRC it published a span for the time needed to enqueue a task, and it also traced the task execution.

sciurus avatar Nov 20 '18 16:11 sciurus

@c24t is there any information on the support you're referencing. Would be interested in seeing this through, either as specific support or at least documentation on how to implement.

hazzadous avatar Jan 09 '19 19:01 hazzadous

@zoidbergwill I see you have a fork that includes celery support, how far did you get with it?

hazzadous avatar Jan 09 '19 19:01 hazzadous

@hazzadous I haven't had a chance to test it much, unfortunately, but I'll do that this week.

zoidyzoidzoid avatar Jan 23 '19 10:01 zoidyzoidzoid

Ping

tmc avatar Jan 15 '20 00:01 tmc

Any plans for this feature in the near future ?

tadrian88 avatar May 13 '21 09:05 tadrian88