I setup the apm agent in my django app,verified that the configs are working but I'm not getting any transactions saved in elastic. I created a script that calls a GET endpoint 100x but no transaction is captured.
I only get transactions if there's an error (404, 500). The python manage.py elasticapm test sends the event to apm server too.
can you double check if you added the elasticapm.contrib.django.middleware.TracingMiddleware to your MIDDLEWARE list? This might also be called MIDDLEWARE_CLASSES if you use Django 1.11 or lower.
Hmm, that's weird. Another possible cause could be that due to some bug, the agent creates invalid requests to the apm-server. Can you try and run the apm-server with the -e flag? This should make it output any errors it encounters while processing requests from the agent.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.