Skip to content

ppecheux/log-monitoring-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitor docker compose logs

Usage

  • copy this repository

  • use an include to add to your existing compose file

  • grafana is exposed on port 3000. A datasource is already configured to get logs by containers

Architecture

This docker compose contains only grafana, loki and logtail

graph TD

subgraph docker compose
subgraph log monitoring
g[grafana]
loki[(loki)]
lt[logtail]
end
c1[container 1]
c2[container 2]
end

g --datasource--> loki
lt --push logs--> loki
lt --collect logs--> c1
lt --collect logs--> c2

Loading

Releases

No releases published

Packages

No packages published