template

package
v0.0.0-...-003f762 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package template performs output operations for the extension

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address      string
	PushInterval time.Duration
}

Config is the config for the template collector

func NewConfig

func NewConfig(p output.Params) (Config, error)

NewConfig creates a new Config instance from the provided output.Params

type Output

type Output struct {
	output.SampleBuffer
	// contains filtered or unexported fields
}

Output implements the lib.Output interface

func New

func New(p output.Params) (*Output, error)

New creates an instance of the collector

func (*Output) Description

func (o *Output) Description() string

Description returns a human-readable description of the output that will be shown in `k6 run`

func (*Output) Start

func (o *Output) Start() error

Start performs initialization tasks prior to Engine using the output

func (*Output) Stop

func (o *Output) Stop() error

Stop flushes all remaining metrics and finalizes the test run

Jump to

Keyboard shortcuts

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