loki

package
v0.40.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package loki provides an otelcol.receiver.loki component.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	// Output configures where to send received data. Required.
	Output *otelcol.ConsumerArguments `river:"output,block"`
}

Arguments configures the otelcol.receiver.loki component.

type Component

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

Component is the otelcol.receiver.loki component.

func New added in v0.35.0

New creates a new otelcol.receiver.loki component.

func (*Component) Run

func (c *Component) Run(ctx context.Context) error

Run implements Component.

func (*Component) Update

func (c *Component) Update(newConfig component.Arguments) error

Update implements Component.

type Exports

type Exports struct {
	Receiver loki.LogsReceiver `river:"receiver,attr"`
}

Exports holds the receiver that is used to send log entries to the loki.write component.

Jump to

Keyboard shortcuts

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