internaldata

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetricsToOC

func MetricsToOC(md pdata.Metrics) []consumerdata.MetricsData

MetricsToOC may be used only by OpenCensus receiver and exporter implementations. TODO: move this function to OpenCensus package.

func OCSliceToMetrics

func OCSliceToMetrics(ocmds []consumerdata.MetricsData) pdata.Metrics

OCSliceToMetricData converts a slice of OC data format to data.MetricData. Deprecated: use pdata.Metrics instead.

func OCToMetrics

func OCToMetrics(md consumerdata.MetricsData) pdata.Metrics

OCToMetricData converts OC data format to data.MetricData. Deprecated: use pdata.Metrics instead. OCToMetrics may be used only by OpenCensus receiver and exporter implementations.

func OCToTraceData

func OCToTraceData(td consumerdata.TraceData) pdata.Traces

OCToTraceData converts OC data format to Traces. Deprecated: use pdata.Traces instead. OCToTraceData may be used only by OpenCensus receiver and exporter implementations.

func TraceDataToOC

func TraceDataToOC(td pdata.Traces) []consumerdata.TraceData

TraceDataToOC may be used only by OpenCensus receiver and exporter implementations. TODO: move this function to OpenCensus package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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