Back to godoc.org
go.opentelemetry.io/collector/consumer/converter

package converter

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

Overview

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

func NewInternalToOCMetricsConverter

func NewInternalToOCMetricsConverter(mc consumer.MetricsConsumerOld) consumer.MetricsConsumer

NewInternalToOCMetricsConverter creates new internalToOCMetricsConverter that takes MetricsConsumer and implements ConsumeTraces interface.

func NewInternalToOCTraceConverter

func NewInternalToOCTraceConverter(tc consumer.TraceConsumerOld) consumer.TraceConsumer

NewInternalToOCTraceConverter creates new internalToOCTraceConverter that takes TraceConsumer and implements ConsumeTraces interface.

func NewOCToInternalMetricsConverter

func NewOCToInternalMetricsConverter(tc consumer.MetricsConsumer) consumer.MetricsConsumerOld

NewOCToInternalMetricsConverter creates new ocToInternalMetricsConverter that takes MetricsConsumer and implements ConsumeTraces interface.

func NewOCToInternalTraceConverter

func NewOCToInternalTraceConverter(tc consumer.TraceConsumer) consumer.TraceConsumerOld

NewOCToInternalTraceConverter creates new ocToInternalTraceConverter that takes TraceConsumer and implements ConsumeTraces interface.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier