otlp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogsTotalTag = tlv.Tag(0xAB)
)

Variables

This section is empty.

Functions

func EmitMetricsForTLV

func EmitMetricsForTLV(tlvs []tlv.TLV, database, table string)

func KustoMetadata

func KustoMetadata(l *logsv1.LogRecord) (database, table string)

Types

type Logs

type Logs struct {
	Resources []*commonv1.KeyValue
	Logs      []*logsv1.LogRecord
	Database  string
	Table     string
}

Logs is a collection of logs and their resources. https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-resource

func Group

func Group(req *v1.ExportLogsServiceRequest, add []*commonv1.KeyValue, log *slog.Logger) []*Logs

Group logs into a collection of logs and their resources.

Jump to

Keyboard shortcuts

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