Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Latest commit

 

History

History
99 lines (74 loc) · 4.22 KB

File metadata and controls

99 lines (74 loc) · 4.22 KB

Next Steps


Disclaimer: The following is not created, maintained, or endorsed by Docker. It is a reference guide to show a known and tested path for monitoring Docker Desktop in a production appropriate way


If you've setup all-in-one monitoring for test purposes and want to move on to a production ready architecture like below

image

then you can follow these steps with any prometheus remote write compatible software and a log collection endpoint or use the suggested configurate to match the all-in-one deployment.

Step 1: Install Loki via one of the following options to a dedicated location

Step 2: Install Mimir via one of the following options to a dedicated location

Step 3: Update Docker Desktop Grafana Extension to point at your newly installed Loki and Mimir

image

Configuration sections that will need updating:

...
    node_exporter:
    enabled: true
    relabel_configs:
      - replacement: ${HOSTNAME}
        target_label: instance
  prometheus_remote_write:
    - basic_auth:
        password: "<Password>"
        username: "<UserName>"
      url: "http://SomeIPAddressOrDNSNameForMimir:9009/api/v1/push"      
logs:
  configs:
    - clients:
        - basic_auth:
            password: "<Password>"
            username: "<UserName>"
          url: "http://SomeIpAddressOrDNSNameForLoki:3100/loki/api/v1/push"
...
...
metrics:
  configs:
    - name: integrations
      remote_write:
       - basic_auth:
            password: "<Password>"
            username: "<UserName>"
         url: "http://SomeIPAddressOrDNSNameForMimir:9009/api/v1/push"
...

Step 4: Install Grafana to a dedicated location

Step 5: Point Grafana at Loki and Mimir

  • Add Loki Connection

image

  • Add Mimir (Prometheus) Connection

image

Step 6: Import Dashboards into Grafana

image image