otlp

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultMetricPrefix = "k6_"

Variables

This section is empty.

Functions

func Flush

func Flush()

func Init

func Init(conf *Config, expc *exp.Config, log logrus.FieldLogger) error

func Shutdown

func Shutdown() error

Types

type Config

type Config struct {
	Script       string
	Timeout      time.Duration
	PushInterval time.Duration
	UseIDs       bool
}

type Wrapper

type Wrapper interface {
	Record(*k6m.Sample)
}

func NewWrapper

func NewWrapper(logger logrus.FieldLogger, s k6m.Sample) (Wrapper, error)

Jump to

Keyboard shortcuts

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