Unable to start python django APM

Hi ,

I have installed latest version of python agent, apm-server & ELK stack. But i am unable to find the service in APM dashboard. I can see the below error log in apm-server logs:

2020-07-29T10:26:27.692Z ERROR [request] middleware/log_middleware.go:95 404 page not found {"request_id": "9f3a51bb-1e2b-4f82-ae8d-024258c4fc18", "method": "POST", "URL": "/v1/transactions", "content_length": 1765, "remote_address": "", "user-agent": "elasticapm-python/2.0.0", "response_code": 404, "error": "404 page not found"}

Please help.

I have added the below configuration in my django application file:


'SERVER_URL': 'http://localhost:8200',


Hi and thanks for your question.

It looks like you're using an incompatible combination of the Python agent and APM Server version. I suggest updating to the latest Python agent version.

See also https://www.elastic.co/guide/en/apm/get-started/current/agent-server-compatibility.html