isuexporter

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 7 Imported by: 0

README

isuexporter

Custom Otel Exporter for ISUCON

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TraceFileProvider

func TraceFileProvider(filePath string, serviceName string, serviceVersion string) (func(), error)

Types

type FileSpanExporter

type FileSpanExporter struct {
	// contains filtered or unexported fields
}

func NewFileSpanExporter

func NewFileSpanExporter(filename string) (*FileSpanExporter, error)

func (*FileSpanExporter) ExportSpans

func (f *FileSpanExporter) ExportSpans(ctx context.Context, spans []sdktrace.ReadOnlySpan) error

ExportSpans メソッドを実装(SpanExporter インターフェースを満たす)

func (*FileSpanExporter) Shutdown

func (f *FileSpanExporter) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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