Data Collection for Containers

Data Collection for Containers


Densify's container data collection process consists of deploying the Densify Data Forwarder container to collect deployment objects and utilization metrics from Prometheus and forwarding the information to your Densify instance. After Data Forwarder sends data to your Densify instance, it completes, releasing resources it used for processing. To produce container recommendations, your Densify system needs to perform optimization analysis on the data collected. The Data Forwarder is scheduled to run periodically during the day, sending the latest container metrics to your Densify instance for analysis.

Before you begin, refer to Prerequisites for a list of container data collection requirements.

Densify's container data collection process consists of:

  1. Deploying the Densify Data Forwarder. This can be achieved through any one of these methods:

  2. Once Data Forwarder is able to send container metrics to your Densify instance, contact your Cloud Advisor or to enable container optimization analysis and recommendations.


The following items are necessary for Densify container data collection and optimization.

  1. Densify account— Contact Densify for details of your subscription or sign up for a free trial.
  2. Kubernetes or OpenShift must be deployed.
    • kubelet with cAdvisor is required to provide workload data to Densify
  3. kube-state-metrics—This is a service that monitors the Kubernetes API server and generates metrics from the various objects inside the individual Kubernetes components, such as deployments, nodes and pods. The collected metrics allow Densify to get a complete picture of how your containers are setup. i.e. Replica Sets, Deployments, Pod and Container Labels.
  4. Prometheus—Provides the monitoring/data aggregation layer. It must be deployed and configured to collect kube-state-metrics and cAdvisor/kubelet metrics.

The following item is not mandatory but does provide additional environment information for Densify container optimization.

  1. Node Exporter—Collects data about the nodes, on which the containers are running.

Contact your Cloud Advisor for configuration details.