Back to godoc.org
go.opentelemetry.io/collector/translator/internaldata

package internaldata

v0.4.0
Latest Go to latest
Published: Jun 16, 2020 | License: Apache-2.0 | Module: go.opentelemetry.io/collector

Index

func MetricDataToOC

func MetricDataToOC(md data.MetricData) []consumerdata.MetricsData

func OCSliceToMetricData

func OCSliceToMetricData(ocmds []consumerdata.MetricsData) data.MetricData

OCSliceToMetricData converts a slice of OC data format to MetricData.

func OCToMetricData

func OCToMetricData(md consumerdata.MetricsData) data.MetricData

OCToMetricData converts OC data format to MetricData.

func OCToTraceData

func OCToTraceData(td consumerdata.TraceData) pdata.Traces

OCToTraceData converts OC data format to Traces.

func ResourceSpansToOC

func ResourceSpansToOC(rs pdata.ResourceSpans) consumerdata.TraceData

func TraceDataToOC

func TraceDataToOC(td pdata.Traces) []consumerdata.TraceData
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier