tests

package
v0.99.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scenario10kItemsPerSecond

func Scenario10kItemsPerSecond(
	t *testing.T,
	sender testbed.DataSender,
	receiver testbed.DataReceiver,
	resourceSpec testbed.ResourceSpec,
	resultsSummary testbed.TestResultsSummary,
	processors map[string]string,
	extensions map[string]string,
)

Scenario10kItemsPerSecond runs 10k data items/sec test using specified sender and receiver protocols.

func Scenario10kItemsPerSecondAlternateBackend added in v0.90.0

func Scenario10kItemsPerSecondAlternateBackend(
	t *testing.T,
	sender testbed.DataSender,
	receiver testbed.DataReceiver,
	backend testbed.DataReceiver,
	resourceSpec testbed.ResourceSpec,
	resultsSummary testbed.TestResultsSummary,
	processors map[string]string,
	extensions map[string]string,
)

Scenario10kItemsPerSecondAlternateBackend runs 10k data items/sec test using specified sender and receiver protocols. The only difference from Scenario10kItemsPerSecond is that this method can be used to specify a different backend. This is useful when testing components for which there is no exporter that emits the same format as the receiver format.

func Scenario1kSPSWithAttrs

func Scenario1kSPSWithAttrs(t *testing.T, args []string, tests []TestCase, processors map[string]string, extensions map[string]string)

Scenario1kSPSWithAttrs runs a performance test at 1k sps with specified span attributes and test options.

func ScenarioSendingQueuesFull added in v0.92.0

func ScenarioSendingQueuesFull(
	t *testing.T,
	sender testbed.DataSender,
	receiver testbed.DataReceiver,
	loadOptions testbed.LoadOptions,
	resourceSpec testbed.ResourceSpec,
	sleepTime int,
	resultsSummary testbed.TestResultsSummary,
	processors map[string]string,
	extensions map[string]string,
)

func ScenarioSendingQueuesNotFull added in v0.92.0

func ScenarioSendingQueuesNotFull(
	t *testing.T,
	sender testbed.DataSender,
	receiver testbed.DataReceiver,
	loadOptions testbed.LoadOptions,
	resourceSpec testbed.ResourceSpec,
	sleepTime int,
	resultsSummary testbed.TestResultsSummary,
	processors map[string]string,
	extensions map[string]string,
)

func ScenarioTestTraceNoBackend10kSPS

func ScenarioTestTraceNoBackend10kSPS(
	t *testing.T,
	sender testbed.DataSender,
	receiver testbed.DataReceiver,
	resourceSpec testbed.ResourceSpec,
	resultsSummary testbed.TestResultsSummary,
	configuration processorConfig,
)

Types

type TestCase

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

TestCase for Scenario1kSPSWithAttrs func.

Jump to

Keyboard shortcuts

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