converter

package
v0.66.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertAllConverter

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

func (*ConvertAllConverter) AcceptsSpans

func (c *ConvertAllConverter) AcceptsSpans(attributes pcommon.Map, spanSlice ptrace.SpanSlice) bool

func (*ConvertAllConverter) ConvertSpans

func (c *ConvertAllConverter) ConvertSpans(attributes pcommon.Map, spanSlice ptrace.SpanSlice) model.Bundle

func (*ConvertAllConverter) Name

func (c *ConvertAllConverter) Name() string

type Converter

type Converter interface {
	AcceptsSpans(attributes pcommon.Map, spanSlice ptrace.SpanSlice) bool
	ConvertSpans(attributes pcommon.Map, spanSlice ptrace.SpanSlice) model.Bundle
	Name() string
}

func NewConvertAllConverter

func NewConvertAllConverter(logger *zap.Logger) Converter

type SpanConverter

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

func (*SpanConverter) AcceptsSpans

func (c *SpanConverter) AcceptsSpans(attributes pcommon.Map, spanSlice ptrace.SpanSlice) bool

func (*SpanConverter) ConvertSpans

func (c *SpanConverter) ConvertSpans(attributes pcommon.Map, spanSlice ptrace.SpanSlice) model.Bundle

func (*SpanConverter) Name

func (c *SpanConverter) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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