opentelemetry

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetOtelContext

func GetOtelContext(r io.Reader) *otelConext

func PutOtelContext

func PutOtelContext(octx *otelConext)

Types

type InfluxRowsWriter

type InfluxRowsWriter interface {
	RetryWritePointRows(database, retentionPolicy string, points []influx.Row) error
}

type LogsWriter

type LogsWriter interface {
	WriteLogs(ctx context.Context, md plog.Logs, w otel2influx.InfluxWriter) error
}

type MetricsWriter

type MetricsWriter interface {
	WriteMetrics(ctx context.Context, md pmetric.Metrics, w otel2influx.InfluxWriter) error
}

type TracesWriter

type TracesWriter interface {
	WriteTraces(ctx context.Context, md ptrace.Traces, w otel2influx.InfluxWriter) error
}

Jump to

Keyboard shortcuts

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