metrics

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitOtel added in v0.8.9

func InitOtel(ctx context.Context, cfg config.Config, logger *log.Logrus, appVersion string) (func(), error)

Types

type OtelMonitor added in v0.8.9

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

OtelMonitor represents the otel monitor.

func NewOtelMonitor added in v0.8.9

func NewOtelMonitor() *OtelMonitor

func (*OtelMonitor) RecordPlugin added in v0.8.9

func (*OtelMonitor) RecordPlugin(context.Context, agent.PluginInfo)

RecordPlugin records a individual plugin behavior in a run, this is being handled in otelmw

func (*OtelMonitor) RecordRun added in v0.8.9

func (m *OtelMonitor) RecordRun(ctx context.Context, run agent.Run)

RecordRun records a run behavior

func (*OtelMonitor) RecordSinkRetryCount added in v0.8.9

func (m *OtelMonitor) RecordSinkRetryCount(ctx context.Context, pluginInfo agent.PluginInfo)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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