← All dashboards

Docker daemon metrics

Docker daemon (engine) metrics

Collect Docker metrics with Prometheus

Currently, you can only monitor Docker itself. You can’t currently monitor your application using the Docker target.

Configure the daemon

To configure the Docker daemon as a Prometheus target, you need to specify the metrics-address in the daemon.json configuration file. This daemon expects the file to be located at one of the following locations by default. If the file doesn’t exist, create it.

  • Linux: /etc/docker/daemon.json
  • Windows Server: C:\ProgramData\docker\config\daemon.json
  • Docker Desktop: Open the Docker Desktop settings and select Docker Engine to edit the file. Add the following configuration:
json
{
  "metrics-addr": "127.0.0.1:9323"
}

Save the file, or in the case of Docker Desktop for Mac or Docker Desktop for Windows, save the configuration. Restart Docker.

Docker now exposes Prometheus-compatible metrics on port 9323 on the loopback interface. arsalanse.ir

Dashboard revisions

RevisionDecscriptionCreated

Reviews

Login or Sign up to write a review

Reviews from the community

Get this dashboard

Data source:

Dependencies:

Import the dashboard template:

or

Download JSON

Docs: Importing dashboards

Downloads: 10