exporters

package
v0.9.113 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 0 Imported by: 0

README

Tracing Exporters

Tracing Exporters are OpenTelemetry exporter wrappers for Dapr. The actual export implementations should be contributed to the OpenTelemetry repository.

Currently supported exporters are:

  • Native

    OpenTelemetry default exporter

  • String

    Export to a string buffer. This is mostly used for testing purposes.

  • Zipkin

    Export to a Zipkin back-end.

Implementing a new Exporter wrapper

A compliant exporter wrapper needs to implement one interface: Exporter, which has a single method:

type Exporter interface {
	Init(daprID string, hostAddress string, metadata Metadata) error
}

The implementation should configure the exporter according to the settings specified in the metadata.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter interface {
	Init(daprID string, hostAddress string, metadata Metadata) error
}

Exporter is the interface for tracing exporter wrappers

type Metadata

type Metadata struct {
	Properties map[string]string `json:"properties"`
	Buffer     *string           `json:"-"`
}

Metadata represents a set of exporter specific properties

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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