Documentation ¶
Index ¶
- func MetricsToOC(md pdata.Metrics) []consumerdata.MetricsData
- func OCSliceToMetrics(ocmds []consumerdata.MetricsData) pdata.Metrics
- func OCToMetrics(md consumerdata.MetricsData) pdata.Metrics
- func OCToTraceData(td consumerdata.TraceData) pdata.Traces
- func TraceDataToOC(td pdata.Traces) []consumerdata.TraceData
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.