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

**URL:** <https://discuss.elastic.co/t/no-transaction-type-request-records-when-application-with-agent-works-in-docker/376315>\
**Category:** APM\
**Tags:** docker, python\
**Created:** [March 24, 2025, 11:06am UTC](https://discuss.elastic.co/t/no-transaction-type-request-records-when-application-with-agent-works-in-docker/376315 "2025-03-24T11:06:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roman\_Shamrai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roman_shamrai/32/142215_2.png) [@Roman\_Shamrai](https://discuss.elastic.co/u/Roman_Shamrai)\
**Post date:** [March 24, 2025, 11:06am UTC](https://discuss.elastic.co/t/no-transaction-type-request-records-when-application-with-agent-works-in-docker/376315/1 "2025-03-24T11:06:49Z")

</div>

\*\*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

```auto
ELASTIC_APM_ENV=
ELASTIC_APM_SERVICE_NAME=
ELASTIC_APM_URL=
ELASTIC_SECRET_TOKEN=

```

variables.  
Here is screen from dockerized app:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/0/c08b71d8966e3b8ff71913653eb2302ec47c849c.png)

---

<div class="post-metadata">

**Author:** ![riccardom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/riccardom/32/132044_2.png) [@riccardom](https://discuss.elastic.co/u/riccardom)\
**Post date:** [March 24, 2025, 11:21am UTC](https://discuss.elastic.co/t/no-transaction-type-request-records-when-application-with-agent-works-in-docker/376315/2 "2025-03-24T11:21:43Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Roman\_Shamrai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roman_shamrai/32/142215_2.png) [@Roman\_Shamrai](https://discuss.elastic.co/u/Roman_Shamrai)\
**Post date:** [March 24, 2025, 11:52am UTC](https://discuss.elastic.co/t/no-transaction-type-request-records-when-application-with-agent-works-in-docker/376315/3 "2025-03-24T11:52:27Z")

</div>

Thank you for your reply.

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

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/1/8107402e2680c1d654904578f430a0d19a6484dc.png)

Yes, django app in debug mode:  
DEBUG=True

---

<div class="post-metadata">

**Author:** ![riccardom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/riccardom/32/132044_2.png) [@riccardom](https://discuss.elastic.co/u/riccardom)\
**Post date:** [March 24, 2025, 1:10pm UTC](https://discuss.elastic.co/t/no-transaction-type-request-records-when-application-with-agent-works-in-docker/376315/4 "2025-03-24T13:10:25Z")

</div>

Debug mode is not advised in production, see

> **[Troubleshooting | APM Python Agent Reference \[6.x\] | Elastic](https://www.elastic.co/guide/en/apm/agent/python/6.x/troubleshooting.html#debug-mode)**

---

<div class="post-metadata">

**Author:** ![Roman\_Shamrai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/roman_shamrai/32/142215_2.png) [@Roman\_Shamrai](https://discuss.elastic.co/u/Roman_Shamrai)\
**Post date:** [March 24, 2025, 3:19pm UTC](https://discuss.elastic.co/t/no-transaction-type-request-records-when-application-with-agent-works-in-docker/376315/5 "2025-03-24T15:19:45Z")

</div>

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.
