telexporter

package
v0.0.0-...-adae3a6 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZkipKinSpanModels

func ZkipKinSpanModels(batch []tracesdk.ReadOnlySpan) []zkmodel.SpanModel

ZkipKinSpanModels converts OpenTelemetry spans into Zipkin model spans. This is used for exporting to Zipkin compatible tracing services.

Types

type ZipkinExporter

type ZipkinExporter = zipkin.Exporter

ZipkinExporter exports spans to the zipkin collector.

func New

func New(collectorURL string, opts ...ZipkinOption) (*ZipkinExporter, error)

New creates a new Zipkin exporter.

type ZipkinOption

type ZipkinOption = zipkin.Option

ZipkinOption defines a function that configures the exporter.

func WithClient

func WithClient(client *http.Client) ZipkinOption

WithClient configures the exporter to use the passed HTTP client.

func WithZkipKinLogger

func WithZkipKinLogger(logger *log.Logger) ZipkinOption

WithZkipKinLogger configures the exporter to use the passed logger.

Jump to

Keyboard shortcuts

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