underlow / tglog Goto Github PK
View Code? Open in Web Editor NEWSend log messages from all docker containers to telegram
License: MIT License
Send log messages from all docker containers to telegram
License: MIT License
Each received line of log should be filtered
it should be possible to filter by container name and substring
container filters work before global filters, so event can be filtered by global filters even if it passed containter filter
example:
logs:
events:
include:
exclude:
container:
events:
include:
exclude:
names:
include:
exclude:
containers:
container:
- name: "some container name"
logs:
events:
include: "error"
exclude:
container:
events:
include: "*"
exclude:
this configuration won't pass any event at all but it is expected that container configuration works independent of global
Who monitors monitoring.
App should send a heartbeat message to tg once a day
change filter to empty == nothing and * - all
Now filtering by container name is implemented in MessageFilter but all unneeded events can be avoided at all if we simply wouldn't subscribe to them
after start tglog should send message to tg channel. all filters should be included into this message
telegram can return Error while sending message: Too Many Requests: retry after 41 error: 429
now string 'container1, container2' is parsed like 'container1'. ' container2' and it will break expectaions
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.