Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
datadog:
 dogstatsd:
    port: 8125 (default value)
    originDetection: true (Enable for pod and k8s labels)
    tagCardinality: orchestrator
    
    # Below values are needed for runtime metrics
    useHostPort: true
    nonLocalTraffic: true

In case your runtime metrics are being sent correctly but are missing appropriate k8s labels such as namespace, add the following environment variable to your application service:

Code Block
env:
  - name: DD_ENTITY_ID
    valueFrom:
      fieldRef:
        fieldPath: metadata.uid