stringexporter

package
v0.0.0-...-dfea14c Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	Buffer *string
}

Exporter is an OpenCensus string exporter

func NewStringExporter

func NewStringExporter() *Exporter

NewStringExporter returns a new string exporter instance

func (*Exporter) ExportSpan

func (se *Exporter) ExportSpan(sd *trace.SpanData)

ExportSpan exports span content to the buffer

func (*Exporter) Init

func (se *Exporter) Init(daprID string, hostAddress string, metadata exporters.Metadata) error

Init creates a new string exporter endpoint and reporter

type Metadata

type Metadata struct {
	Buffer *string
}

Metadata is the string exporter config

Jump to

Keyboard shortcuts

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