telemetry

package
v0.8.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitOtelSDK

func InitOtelSDK(
	ctx context.Context,
	otelCollectorUrl string,
	pushInterval time.Duration,
	rrsvc application.RoundReportService,
) (func(context.Context) error, error)

func InitPyroscope added in v0.8.8

func InitPyroscope(pyroscopeServerURL string) (func() error, error)

InitPyroscope initializes the Pyroscope profiler for continuous profiling. It returns a shutdown function that should be called on application exit. If pyroscopeServerURL is empty, this function does nothing and returns a no-op shutdown function.

Types

type OTelHook

type OTelHook struct {
}

func NewOTelHook

func NewOTelHook() *OTelHook

func (*OTelHook) Fire

func (h *OTelHook) Fire(e *logrus.Entry) error

func (*OTelHook) Levels

func (h *OTelHook) Levels() []logrus.Level

type RoundReportLogExporter

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

func (*RoundReportLogExporter) Close

Jump to

Keyboard shortcuts

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