Skip to content

shitamachi/promtail-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

promtail-client

Promtail client library. Promtail is an agent for Loki logging system.

This library supports both JSON and Protobuf APIs.

Usage example:

cd examples/client-example
go build

# make sure source-name is unique for every application instance
# otherwise promtail will reject logs with error:
# "entry out of order for stream"
./client-example proto source-name job-name

About

Promtail client library. Promtail is an agent for Loki logging system.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%