{"agent":"codex","input":"Add Prometheus metrics to this Django REST Framework project and open a pull request. Read requirements/base.txt, config/django/base.py, config/settings/loggers/setup.py, config/urls.py, gunicorn.conf.py, Procfile, pytest.ini, .github/workflows/django.yml and styleguide_example/api/tests/pagination/test_get_paginated_response.py first. Add django-prometheus to requirements/base.txt and django_prometheus to THIRD_PARTY_APPS. Put PrometheusBeforeMiddleware first and PrometheusAfterMiddleware last in MIDDLEWARE before LoggersSetup.setup_settings is called. Switch both DATABASES definitions to the django_prometheus postgresql backend. Mount django_prometheus.urls at the root of config/urls.py so /metrics is served. Configure multiprocess mode for gunicorn with PROMETHEUS_MULTIPROC_DIR and a child_exit hook in gunicorn.conf.py, and document the variable in .env.example. Add a test under styleguide_example/api/tests/ that calls an API endpoint with APIClient and then asserts /metrics names that view and includes the database execute counter. Run ruff check ., mypy --config mypy.ini styleguide_example/, pytest and docker compose build, and paste the output plus a short /metrics sample in the pull request. Do not change the Celery setup, Sentry settings or any API view.","resources":[{"url":"https://github.com/your-org/your-app"}]}