otelm

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OTelManager

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

func NewOTelManager

func NewOTelManager() *OTelManager

func (*OTelManager) EndSpan

func (m *OTelManager) EndSpan(span *Span)

func (*OTelManager) Export

func (m *OTelManager) Export() string

func (*OTelManager) GetSpans

func (m *OTelManager) GetSpans() []Span

func (*OTelManager) StartSpan

func (m *OTelManager) StartSpan(name string) *Span

type Span

type Span struct {
	Name   string `json:"name"`
	Status string `json:"status"`
}

Jump to

Keyboard shortcuts

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