loki

package
v0.0.0-...-8c3fb0d Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLokiAdapter

func NewLokiAdapter(route *router.Route) (router.LogAdapter, error)

NewLokiAdapter creates a LokiAdapter.

Types

type LokiAdapter

type LokiAdapter struct {
	// contains filtered or unexported fields
}

LokiAdapter is an adapter that streams logs to Loki.

func (*LokiAdapter) Stream

func (a *LokiAdapter) Stream(logstream chan *router.Message)

Stream implements the router.LogAdapter interface.

Jump to

Keyboard shortcuts

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