transform

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnimplementedAgg = errors.New("unimplemented aggregation")

ErrUnimplementedAgg is returned when a transformation of an unimplemented aggregation is attempted.

Functions

func Record

func Record(service string, record metricsdk.Record) (telemetry.Metric, error)

Record transforms an OpenTelemetry Record into a Metric.

An ErrUnimplementedAgg error is returned for unimplemented Aggregations.

func Span

func Span(service string, span *trace.SpanSnapshot) telemetry.Span

Span transforms an OpenTelemetry SpanData into a New Relic Span for a unique service.

https://godoc.org/github.com/newrelic/newrelic-telemetry-sdk-go/telemetry#Span https://godoc.org/go.opentelemetry.io/otel/sdk/export/trace#SpanData

Types

This section is empty.

Jump to

Keyboard shortcuts

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