afiskon / promtail-client Goto Github PK
View Code? Open in Web Editor NEWPromtail client library. Promtail is an agent for Loki logging system.
Home Page: https://eax.me/golang-loki/
License: MIT License
Promtail client library. Promtail is an agent for Loki logging system.
Home Page: https://eax.me/golang-loki/
License: MIT License
Right now, labels can only be set during client initialization. It would be very useful if you could set additional labels to individual messages. e.g.:
loki.InfoWithLabelf("{worker_id=\"123\"}", "source = %s, time = %s, i = %d\n", source_name, tstamp, i)
Promtail 怎么样支持多行日记处理?
If I try to run the client example I got the following error:
package github.com/afiskon/promtail-client/promtail imports github.com/afiskon/promtail-client/promtail: import cycle not allowed
If the user could provide an http.Client some authentication schemes would be possible to hook into. (Others might require setting a user provided header).
It'd be nice if the main branch was renamed to main instead of the legacy / old term.
Unless a large number of users have active clones and are are sending PRs it's usually enough to just follow the GitHub instructions to rename the branch.
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.