APM HTTP request information missing

Kibana version: 7.13.0

Elasticsearch version: 7.13.0

APM Server version: 7.13.0

APM Agent language and version: Python 3.7.9, Django 2.2.11 , elastic-apm==6.2.1 and elastic-apm==6.1.3

Original install method (e.g. download page, yum, deb, from source, etc.) and version: ECK

Fresh install or upgraded from other version? Fresh

Description:
I can't find the request information like url.path and other information like headers and cookies like what we were having in older version on another cluster.


This is the agent configurations:

ELASTIC_APM = {
    'SERVER_URL': 'https://elastic-apm-http.elasticsearch:8200',
    'SECRET_TOKEN': "blablabla",
    'SERVICE_NAME': 'interview',
    'ENVIRONMENT': 'dev',
    'CAPTURE_BODY': 'all',
    'DEBUG': True,
    'INSTRUMENT': True,
    'TRANSACTIONS_IGNORE_PATTERNS': ['^OPTIONS '],
    'TRANSACTION_IGNORE_URLS': ['/metrics', '*/health_check'],
    'DJANGO_TRANSACTION_NAME_FROM_ROUTE': True,
    'VERIFY_SERVER_CERT': False
}

Please not that DEBUG is true to match Django debug on the dev environment.
and the following is server configuration through ECK 1.6.0:

apiVersion: apm.k8s.elastic.co/v1
kind: ApmServer
metadata:
  name: elastic
  namespace: elasticsearch
spec:
  version: 7.13.0
  count: 4
  config:
    logging.level: warning
    monitoring.enabled: true
    output.elasticsearch.workers: 1
    output.elasticsearch.bulk_max_size: 4096
    queue.mem.events: 8192
  elasticsearchRef:
    name: elastic
  kibanaRef:
    name: elastic
  podTemplate:
    metadata:
      labels:
        apm-name: elastic
        elastic-rule: apm
    spec:
      containers:
        - name: apm-server
          resources:
            requests:
              memory: 1Gi
              cpu: .25
            limits:
              memory: 2Gi
              cpu: .5
      affinity:
        podAntiAffinity:
            requiredDuringSchedulingIgnoredDuringExecution:
            - labelSelector:
                matchExpressions:
                - key: elastic-rule
                  operator: In
                  values:
                  - apm
              topologyKey: "kubernetes.io/hostname"
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: workload
                operator: In
                values:
                - es

Hope that you can guide on how to get that information again.
Best regards.

Please note that when I downgraded to elastic-apm==5.10.1 the request information are displayed again.
please note the following version of our application:

django==2.2.11
djangorestframework==3.10.3
requests==2.22.0
mod-wsgi==4.8.0

Is it a removed feature, or there is something extra needs to be configured for 6.2.1?
best regards

Can you try opening the transaction in Discover? You can do that by clicking "Investigate" and then "View sample document".

I'm interested to hear if the values you are looking for are present in the document or not.

Hey @sqren :slight_smile: we managed to figure out the issue on Github, APM HTTP request information missing · Issue #1148 · elastic/apm-agent-python · GitHub :slight_smile: