promtail-client

module
v0.0.0-...-44fa96a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: MIT

README

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

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL