elastictraceprocessor

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

Elastic trace processor

Status
Stability alpha: traces
Distributions []
Issues Open issues Closed issues

The processor enriches traces with elastic specific requirements. It uses opentelemetry-lib to perform the actual enrichments.

Configuration

Enable all enrichments
processors:
  elastictrace:

Documentation

Overview

Package elastictraceprocessor enriches the traces with Elastic specific attributes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() processor.Factory

NewFactory returns a processor.Factory that constructs elastic trace processor instances.

Types

type Config

type Config struct {
	config.Config `mapstructure:",squash"`
}

type Processor

type Processor struct {
	component.StartFunc
	component.ShutdownFunc
	// contains filtered or unexported fields
}

func (*Processor) Capabilities

func (p *Processor) Capabilities() consumer.Capabilities

func (*Processor) ConsumeTraces

func (p *Processor) ConsumeTraces(ctx context.Context, td ptrace.Traces) error

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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