Documentation ¶
Index ¶
- func Scenario10kItemsPerSecond(t *testing.T, sender testbed.DataSender, receiver testbed.DataReceiver, ...)
- func Scenario10kItemsPerSecondAlternateBackend(t *testing.T, sender testbed.DataSender, receiver testbed.DataReceiver, ...)
- func Scenario1kSPSWithAttrs(t *testing.T, args []string, tests []TestCase, ...)
- func ScenarioLong(t *testing.T, sender testbed.DataSender, receiver testbed.DataReceiver, ...)
- func ScenarioMemoryLimiterHit(t *testing.T, sender testbed.DataSender, receiver testbed.DataReceiver, ...)
- func ScenarioSendingQueuesFull(t *testing.T, sender testbed.DataSender, receiver testbed.DataReceiver, ...)
- func ScenarioSendingQueuesNotFull(t *testing.T, sender testbed.DataSender, receiver testbed.DataReceiver, ...)
- func ScenarioTestTraceNoBackend10kSPS(t *testing.T, sender testbed.DataSender, receiver testbed.DataReceiver, ...)
- type ProcessorNameAndConfigBody
- type TestCase
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 []ProcessorNameAndConfigBody, extensions map[string]string, loadOptions *testbed.LoadOptions, )
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 []ProcessorNameAndConfigBody, 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 []ProcessorNameAndConfigBody, extensions map[string]string)
Scenario1kSPSWithAttrs runs a performance test at 1k sps with specified span attributes and test options.
func ScenarioLong ¶ added in v0.109.0
func ScenarioLong( t *testing.T, sender testbed.DataSender, receiver testbed.DataReceiver, loadOptions testbed.LoadOptions, resultsSummary testbed.TestResultsSummary, sleepTime int, processors []ProcessorNameAndConfigBody, )
func ScenarioMemoryLimiterHit ¶ added in v0.114.0
func ScenarioMemoryLimiterHit( t *testing.T, sender testbed.DataSender, receiver testbed.DataReceiver, loadOptions testbed.LoadOptions, resultsSummary testbed.TestResultsSummary, sleepTime int, processors []ProcessorNameAndConfigBody, )
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 []ProcessorNameAndConfigBody, 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 []ProcessorNameAndConfigBody, 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 ProcessorNameAndConfigBody ¶ added in v0.113.0
Click to show internal directories.
Click to hide internal directories.