Not getting required information like transaction,error for python(django) application

Successfully installed & inserted piece of code in settings.py of my application ,but getting only cpu,memory metrics.kindly suggest why all information not collecting

Hi @shanu

Can you check if DEBUG is set to True in your settings.py file? The agent will only collect errors and transactions if it is set to False, or if ELASTIC_APM["DEBUG"] is set to True. See also https://www.elastic.co/guide/en/apm/agent/python/current/configuration.html#config-debug

Its already set to TRUE

OK, can you try to run these commands in your Django app folder?

./manage.py elasticapm check
./manage.py elasticapm test

The first command does a few sanity checks, the second one should send an error to the configured APM Server. It'll be called TestException: Hi there!. Can you paste the output from the two commands? Make sure to replace any details you don't want to share with ***, like the values forSECRET_TOKEN or SERVICE_NAME.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.