Logging With Docker, Promtail and Grafana Loki

In this post we will use Grafana Promtail to collect all our logs and ship it to Grafana Loki. About We will be using Docker Compose and mount the docker socket to Grafana Promtail so that it is aware of all the docker events and configure it that only containers with docker labels logging=promtail needs to be enabled for logging, which will then scrape those logs and send it to Grafana Loki where we will visualize it in Grafana....

November 18, 2022 Â· 3 min Â· Ruan Bekker

Docker Monitoring Stack with Grafana

In this tutorial we will dive a bit deeper into the docker-monitoring-stack-gpnc repository, on how to setup a docker monitoring stack that runs grafana, prometheus, node-exporter, cadvisor and alertmanager, which includes node and container level metric dashboards. About The repo has been built to get a monitoring stack up and running within seconds and the components includes: Grafana: For visualising graphs Prometheus: Timeseries Database for Metrics cAdvisor: Exposes Container Metrics Node-Exporter: Exposes Node Metrics Alertmanager: Manages Alerts Setup First clone the repository:...

April 7, 2022 Â· 2 min Â· Ruan Bekker