Documentation ¶ Index ¶ Constants func Flush() func Init(conf *Config, expc *exp.Config, log logrus.FieldLogger) error func Shutdown() error type Config type Wrapper func NewWrapper(logger logrus.FieldLogger, s k6m.Sample) (Wrapper, error) 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) Source Files ¶ View all Source files config.go metricid.go params.go rates.go wrapcommon.go wrapgauge.go wrappcounter.go wraprate.go wraptrend.go Click to show internal directories. Click to hide internal directories.