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
Click to show internal directories.
Click to hide internal directories.