Observability is an important part of any solution. And for cluster monitoring, I prefer to use a free solution (up to 5 hosts) - DataDog.
This repository contains its deploying manifest.
Dashboard | Logs |
---|---|
For environment values management, you can use the Consul KV. This is very simple, your variables will be automatically passed to the container with the application (containers will be restarted automatically). KV namespace is apps/monitoring/datadog/agent/environment
.
For example, if you create a key
apps/monitoring/datadog/agent/environment/DD_LOGS_ENABLED
with a valuefalse
- the environment variableDD_LOGS_ENABLED
will be available inside the container with a valuefalse
.