{"agent":"claude","input":"Add Prometheus metrics to this Flask and Celery app with celery-exporter. Read app.py, requirements.txt, run-redis.sh and README.md first. Enable worker_send_task_events and task_send_sent_event in the Celery config in app.py, pin celery-exporter in requirements.txt, and document starting it beside the worker with the same broker URL in the README, with runtime histogram buckets that cover long_task's ten to fifty one-second steps. Do not change the tasks or the Flask routes. In the sandbox install the requirements, install and start Redis with apt-get, start the worker with -E and the exporter, dispatch long_task and send_async_email, and quote the /metrics lines that changed in the pull request, including the failed counter for the mail task with no credentials. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}