No transaction.type = request records, when application with agent works in docker

**Kibana version: 8.16.4 **:

Elasticsearch version: 8.16.4:

**APM Server version: 8.16.4 - deployed through policy on fleet-server v1.6.0 **:

APM Agent language and version: python 6.23.0:

Browser version: Firefox 135.0:

Original install method: docker images:

Fresh install or upgraded from other version? Fresh install

Is there anything special in your setup? No

Hi,
I have a problem getting traces with transaction.type = request from a Django app running in a docker compose project.
APM integration is set up, I successfully get traces with transaction.type = celery.
But there are no traces with transaction.type = request at all.
At the same time, the developer runs this code locally and from him I see records with transaction.type = request and in APM services page.
The python library versions are the same.
The agent versions are the same too.

I't trying to find some errors in logs of elasticsearch, fleet-server with apm integration, but there is no errors.
apm-agent configured through ENV, using

ELASTIC_APM_ENV=
ELASTIC_APM_SERVICE_NAME=
ELASTIC_APM_URL=
ELASTIC_SECRET_TOKEN=

variables.
Here is screen from dockerized app:

Hello, a few troubleshooting questions:

  • Is Django app running in the same node name you are filtering to?
  • Have you checked you don't have Django in debug mode?

Thank you for your reply.

I'm checking directly in index
and where is no new records. Only from developer.

Yes, django app in debug mode:
DEBUG=True

Debug mode is not advised in production, see

Thank you for reply.
This is dev server.
I can't understand, why with same environment setting and same app,
i have traces from celery containers, but not app container.