Python RQ support
See original GitHub issueI’m having hard time setting up APM with Python RQ. I tried following old solution Python agent only recording some background tasks, which led me to creating custom rq.job. But this solution no longer works. I tried setting API_REQUEST_SIZE
to 1b
instead of MAX_QUEUE_SIZE
but that didn’t make a change.
I tried to debug where the things go wrong but the code is just advanced for me. I created minimal Django app with Elastic APM working on the view and my attempt to implement TracingJob
.
Readme describes how to setup the app and how to replicate my issue. It would be great if someone with understanding of the queue and the transport layer could take a look at it.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
RQ: Documentation Overview
A job is a Python object, representing a function that is invoked asynchronously in a worker ... Specifying multiple dependencies are also supported:....
Read more >RQ: Simple job queues for Python
RQ (Redis Queue) is a simple Python library for queueing jobs and processing them in the background with workers. It is backed by...
Read more >RQ: Workers
A worker is a Python process that typically runs in the background and ... --path or -P : multiple import paths are supported...
Read more >RQ: Connections - Python RQ
An example will help to understand it: from rq import Queue, Connection from redis import Redis with Connection(Redis('localhost', 6379)): q1 = Queue('foo') ...
Read more >Running RQ Workers under systemd - Python RQ
To run multiple workers under systemd, you'll first need to create a unit file. We can name this file rqworker@.service , put this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome, I’ve got it working. Thank you for your help!
Done. 😃