Netdata: Containers Stats

Per container overview (LXC, Docker, etc)

Netdata: Containers Stats screenshot 1

About dashboard

A simple dashboard with an overview for containers resource usage:

  • CPU
  • RAM (RSS, Cache, Swap, Writeback, etc)
  • Disks I/O and bandwidth
  • Network bandwidth and PPS

The left column will show host system resources and the right column contains graph panels with stacked metrics of the container’s resource usage.

More dashboards for Netdata you can find here.

How to use

Netdata setup

Follow these instructions to setup containers monitoring in Netdata.

Prometheus setup

Please note that you need Netdata as an exporter for metrics. Plus, these labels are mandatory:

  • job
  • env
  • instance
  • group
  • source

In your prometheus.yml it should look like this:

yaml
- job_name: netdata
  metrics_path: /api/v1/allmetrics?format=prometheus_all_hosts&source=raw
  relabel_configs:
  - source_labels: [__address__]
    regex: ^(.+)\.\w+:\d+
    target_label: instance
    action: replace
  static_configs:
  - targets: [netdata.hostname.here:19999]
    labels:
      env: production
      group: applications
      source: newproject

WARNING: Without these labels, this dashboard won’t be fully functioning.

License

GPL3

Author

OSSHelp Team, see https://oss.help

Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies