Borja T. avatar image
Borja T. asked ·

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

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?

dynatrace saashost monitoringdocker
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

1 Answer

Radoslaw S. avatar image
Radoslaw S. answered ·

See a reference here:

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.


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).

10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions diagnostic tools session replay permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android