trace

package
v0.0.0-...-8d5bda4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler represents a processor that can handle tracespans from Istio and transmit them to New Relic.

func BuildHandler

func BuildHandler(_ *config.Params, h *telemetry.Harvester) (*Handler, error)

BuildHandler returns a trace Handler with valid configuration.

func (*Handler) HandleTraceSpan

func (h *Handler) HandleTraceSpan(_ context.Context, msgs []*tracespan.InstanceMsg) error

HandleTraceSpan transforms tracespan template instances into New Relic spans and sends them to New Relic.

Jump to

Keyboard shortcuts

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