DataDog & Mendix to shutdown production in case of fatal alert

0
I need to configure DataDog with Mendix so that when i have a fatal alert in datadog, the mendix app gets shutdown until someone checks the problem and reboots it manually. Is there any documentation on how to do this ?
asked
2 answers
1

Hello Ilya,

 

If you are using Mendix Cloud this is the documentation:

 

Datadog for Mendix Cloud | Mendix Documentation

 

Hope it helps.

answered
1

Hi Ilya Barigou

 

Mendix does not provide a native runtime feature to automatically shut down the application when a monitoring tool like Datadog raises a fatal alert. The Mendix runtime is designed to stay available unless explicitly stopped.

But if you need to perform this I can help by giving a work-around

1.You need to wire Datadog alerts into your orchestration platform (Kubernetes, Mendix Private Cloud, or your container manager).

2.The orchestration layer can stop the Mendix pod/container when Datadog raises a critical alert.

3.You can configure restart policies so the app stays down until someone explicitly redeploys or restarts it.

 

Bonus idea: Instead of hard‑stopping the app, I prefer graceful degradation (e.g., route traffic away, show maintenance page) because a hard shutdown can impact SLAs. If your compliance requires shutdown, use the scale‑to‑zero pattern via orchestration.

 

I hope this helps!!!

answered