Skip to content

A comprehensive guide for collecting, and exporting telemetry data (metrics, logs, and traces) from Docker Swarm environment.

Notifications You must be signed in to change notification settings

swarmlibs/dockerswarm-monitoring-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A comprehensive guide for collecting, and exporting telemetry data (metrics, logs, and traces) from Docker Swarm environment.

Important

This project is a work in progress and is not yet ready for production use. But feel free to test it and provide feedback.

Stacks

These are the components that will be instrumented to gather Metrics, Logs and Traces.

  • promstack: A Docker Stack deployment for the monitoring suite for Docker Swarm includes (Grafana, Prometheus, cAdvisor, Node exporter and Blackbox prober exporter)
  • logstack: Like Promstack, but for logs. Includes (Grafana Loki and Promtail)

Promstack

A Docker Stack deployment for the monitoring suite for Docker Swarm includes (Grafana, Prometheus, Promtail, cAdvisor, Node exporter and Blackbox prober exporter)

  • Automatically discover and scrape the metrics from the Docker Swarm nodes, services and tasks.
  • Ability to configure scrape target via Docker object labels.
  • Dynamically inject scrape configs from Docker configs.
  • Automatically reload the Prometheus configuration when the Docker configs are create/update/remove.

The dynamic scrape configs are provided by the swarmlibs/prometheus-configs-provider service. And with the help of the prometheus-operator/prometheus-operator/tree/main/cmd/prometheus-config-reloader tool, we can automatically reload the Prometheus configuration when the Docker configs are create/update/remove.

See https://github.com/swarmlibs/promstack for more information.

Logstack

Like Promstack, but for logs. Includes (Grafana Loki and Promtail)

See https://github.com/swarmlibs/logstack for more information.


TBD

About

A comprehensive guide for collecting, and exporting telemetry data (metrics, logs, and traces) from Docker Swarm environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published