martensson / promtail-client

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

Home Page:https://eax.me/golang-loki/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://eax.me/golang-loki/

License:MIT License


Languages

Language:Go 100.0%