Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 607 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 607 Bytes

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