loki

package
v0.40.5 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 7 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 `river:"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

func New(o component.Options, c Arguments) (*Component, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳