jaeger

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package jaeger allows converting model.Trace to/from jaeger.thrift model.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromDomain

func FromDomain(spans []*model.Span) []*jaeger.Span

FromDomain takes an arrya of model.Span and returns an array of jaeger.Span. If errors are found during conversion of tags, then error tags are appended.

func FromDomainSpan

func FromDomainSpan(span *model.Span) *jaeger.Span

FromDomainSpan takes a single model.Span and converts it into a jaeger.Span. If errors are found during conversion of tags, then error tags are appended.

func ToDomain

func ToDomain(jSpans []*jaeger.Span, jProcess *jaeger.Process) []*model.Span

ToDomain transforms a set of spans and a process in jaeger.thrift format into a slice of model.Span. A valid []*model.Span is always returned, even when there are errors. Errors are presented as tags on spans

func ToDomainSpan

func ToDomainSpan(jSpan *jaeger.Span, jProcess *jaeger.Process) *model.Span

ToDomainSpan transforms a span in jaeger.thrift format into model.Span. A valid model.Span is always returned, even when there are errors. Errors are presented as tags on spans

Types

This section is empty.

Jump to

Keyboard shortcuts

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