loki

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package loki provides an otelcol.exporter.loki component.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	ForwardTo []loki.LogsReceiver `alloy:"forward_to,attr"`
}

Arguments configures the otelcol.exporter.loki component.

type Component

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

Component is the otelcol.exporter.loki component.

func New

New creates a new otelcol.exporter.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.

Directories

Path Synopsis
internal
convert
Package convert implements conversion utilities to convert between OpenTelemetry Collector and Loki data.
Package convert implements conversion utilities to convert between OpenTelemetry Collector and Loki data.

Jump to

Keyboard shortcuts

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