internaldata

package
v0.33.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OCToMetrics added in v0.10.0

func OCToMetrics(node *occommon.Node, resource *ocresource.Resource, metrics []*ocmetrics.Metric) pdata.Metrics

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

func OCToTraces added in v0.21.0

func OCToTraces(node *occommon.Node, resource *ocresource.Resource, spans []*octrace.Span) pdata.Traces

OCToTraces may be used only by OpenCensus receiver and exporter implementations. Deprecated: use pdata.Traces instead. TODO: move this function to OpenCensus package.

func ResourceMetricsToOC

func ResourceMetricsToOC(rm pdata.ResourceMetrics) (*occommon.Node, *ocresource.Resource, []*ocmetrics.Metric)

ResourceMetricsToOC may be used only by OpenCensus receiver and exporter implementations. Deprecated: Use pdata.Metrics. TODO: move this function to OpenCensus package.

func ResourceSpansToOC

func ResourceSpansToOC(rs pdata.ResourceSpans) (*occommon.Node, *ocresource.Resource, []*octrace.Span)

ResourceSpansToOC may be used only by OpenCensus receiver and exporter implementations. Deprecated: Use pdata.Traces. 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