Categorygithub.com/pexip/lokishipper
modulepackage
0.0.0-20210604124728-0696984efc73
Repository: https://github.com/pexip/lokishipper.git
Documentation: pkg.go.dev

# README

Lokishipper

A standalone Loki client slightly modified from the official promtail client from https://github.com/grafana/loki.

See the GoDoc: https://godoc.org/github.com/1lann/lokishipper

License

Licensed under Apache 2.0 as a derivative work of Loki, which is also licensed under Apache 2.0.

Copyright 2019 Loki Authors (https://github.com/grafana/loki)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Changes made

  • Isolated the promtail client.
  • Reduced dependencies by lifting code into the package directly.

# Packages

No description provided by the author

# Functions

New makes a new Client.
NewMulti creates a new client.

# Structs

Config describes configuration for a HTTP pusher client.

# Interfaces

Client pushes entries to Loki and can be stopped.
EntryHandler is something that can "handle" entries.

# Type aliases

MultiClient is client pushing to one or more loki instances.
The MultiError type implements the error interface, and contains the Errors used to construct it.