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.
Click to show internal directories.
Click to hide internal directories.