Mendix doesnt send metrics/logging to Datadog

0
Hi,Dit anyone get Datadog to work for Mendix?I created an account (so 14 days trial), created an API key, set it in the custom environment variables (DD_API_KEY), redeployed & restarted the app but no data is sent to Datadog.If somebody knows which step(s) I missed, please tell me.Kind regards,Steven
asked
1 answers
-1

hi,


Setting only DD_API_KEY as a custom environment variable is not sufficient to enable Datadog for Mendix.

Datadog integration depends on how your app is hosted.

Scenario 1 — Mendix Cloud (Licensed Node)

Datadog is not enabled automatically via environment variables.

You must:

  1. Go to Mendix Portal → Environment → Metrics / Monitoring
  2. Enable Datadog integration
  3. Provide:
    • Datadog API key
    • Correct site (datadoghq.com or datadoghq.eu)
  4. Redeploy the environment

If this step is skipped, no metrics will be sent — even if DD_API_KEY is set.

After deployment, metrics appear in Datadog under:


mendix.*
jvm.*

Allow 5–10 minutes after startup.

Scenario 2 — Free App / Basic Node

Datadog integration is not supported.

In this case, setting DD_API_KEY will never send data.

You would need:

  • A dedicated infrastructure setup
  • A Datadog Agent running externally
  • Custom metric forwarding

This is not supported in standard Free App environments.

Scenario 3 — Using Datadog Agent

Mendix Cloud does not allow installing a custom agent inside the container.

So Agent-based integration will not work unless:

  • You are hosting outside Mendix Cloud (e.g., Kubernetes, on-prem)

What To Check

  1. Confirm you are on a licensed Mendix Cloud node
  2. Confirm Datadog integration is enabled in the Portal (not only via env var)
  3. Confirm correct Datadog region
  4. Redeploy after configuration
  5. Check Datadog → Metrics Explorer → search mendix.runtime

Common Root Cause

In most cases the issue is:

Only setting DD_API_KEY as a custom environment variable.

This alone does nothing unless the Cloud integration is enabled.


answered