google / google/mtail

Suggestion: Docker container logs as input log

Open
#965 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4k
Forks
392
PR merge metrics
No merged PRs in 30d

Description

Hello,

Thanks for your work on mtail. I would like to propose a feature that allows users to use logs generated by a Docker container as input for metric generation. Currently, users have two options: either their application must log to a specific file, which means they loose the benefits of having the application's logs within the container logs, or they need to set up an additional sidecar container to create a log file from the Docker API which seems a bit overengineering.

I think it would be possible to embed the docker client library in mtail to use a container logs as input. What do you think of that?

Cheers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.