esmodeltranslator

package
v0.0.0-...-5deca64 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertedData

type ConvertedData struct {
	Span                   pdata.Span
	Resource               pdata.Resource
	InstrumentationLibrary pdata.InstrumentationLibrary
	DBSpan                 *dbmodel.Span
}

ConvertedData holds DB span and the original data used to construct it.

type Translator

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

Translator configures translator

func NewTranslator

func NewTranslator(allTagsAsFields bool, tagsKeysAsFields []string, tagDotReplacement string) *Translator

NewTranslator returns new translator instance

func (*Translator) ConvertSpans

func (c *Translator) ConvertSpans(traces pdata.Traces) ([]ConvertedData, error)

ConvertSpans converts spans from OTEL model to Jaeger Elasticsearch model

Jump to

Keyboard shortcuts

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