cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Best host units usage for monitoring a few apps deployed using docker

borja_turacosta
Newcomer


I'm interested in monitoring a few node apps from a stack which are deployed with docker container so analysing two agent deployment strategies:

 

  • Deploying an agent per host
  • Deploying an agent bundling it with the container App using npm module for PaaS

So which one offer us a better host unit exploitation of our host units? If the agent is bundled with the container.. Should it means that host units exploitation is proportional to the memory of the docker container?
If there isn't a clear response, how we can measure this?

1 REPLY 1

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

See a reference here: https://www.dynatrace.com/support/help/shortlink/monitoring-consumption#example

When OneAgent is integrated using Universal injection, operation of OneAgent is based on the application level (i.e, application-only monitoring). In such cases, where OneAgent isn't installed on the host level (physical or virtualized), the memory detection for host unit calculation is done per operating system instance that the application runs on, with consideration of the memory limits that are set on this layer (for example, container memory limits).
If no memory limit is set, higher host-unit requirements may result as the reported available memory is typically the underlying host memory.

Example

A Docker host with 16 GB RAM running 2 containers, monitored with application-only:

Variant-1: Without a memory limit set, 2 host units will be consumed in total as 16 GB RAM per container are reported.

Variant-2: With a memory limit set to 4 GB per container, 0.5 host units will be consumed in total as 4 GB RAM per container are reported.

Monitoring the Docker host in full-stack monitoring mode would consume 1 host unit because the memory reported from the Docker host is used for licensing (1x 16 GB RAM).


Senior Product Manager,
Dynatrace Managed expert

Featured Posts