stefanprodan / dockprom

Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager
MIT License
5.97k stars 1.71k forks source link

feat: Add Loki to collect container logs #266

Open alvicsam opened 2 years ago

alvicsam commented 2 years ago

The PR adds Grafana Loki that helps in collecting logs and reading them from Grafana.

To make logs prettier I had to set the logging option for each container. Example of logs in Grafana:

image

keriati commented 1 year ago

This would be a nice addition.

rparadinhabv commented 1 year ago

Nice feature to add.