pennsignals / legacy-system-services

2 stars 0 forks source link

Configure docker loki logging driver to replace file scraping #21

Open darrylmendillo opened 4 years ago

darrylmendillo commented 4 years ago

Currently files are being discovered and scraped inside docker containers.

This is not the ideal method since docker containers have a limited and sometimes very short life.

Using a logging pluggin, docker will push logs to loki while simultaneously writing to stdout.