stats

package
v0.0.0-...-31fac75 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Registry *metrics.Registry
)

Functions

func Report

func Report(vu modules.VU, metric *metrics.Metric, value float64)

func ReportDataReceived

func ReportDataReceived(vu modules.VU, value float64)

func ReportDataSent

func ReportDataSent(vu modules.VU, value float64)

Types

type RootModule

type RootModule struct {
	Instance string
}

RootModule is the global module object type. It is instantiated once per test run and will be used to create k6/x/frostfs/stats module instances for each VU.

func (*RootModule) SetTags

func (m *RootModule) SetTags(labels string)

SetTags sets additional tags to custom metrics. Format: "key1:value1;key2:value2". Panics if input has invalid format.

Jump to

Keyboard shortcuts

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