Giter Site home page Giter Site logo

promtail-client's People

Contributors

delimitry avatar srs-haw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

promtail-client's Issues

[Feature request] set additional labels per log entry

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)

import cycle not allowed

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

Support a user provided http.Client

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).

Rename branch to `main`

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.