load

package
v3.0.0-...-6fc1f16 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LoadResourceSpec = &testbed.ResourceSpec{

	ExpectedMaxCPU: 50,

	ExpectedMaxRAM:         120,
	ResourceCheckPeriod:    1 * time.Second,
	MaxConsecutiveFailures: 0,
}

Functions

func NewNginxAgentProcessCollector

func NewNginxAgentProcessCollector(options ...NginxAgentProcessOption) testbed.OtelcolRunner

NewNginxAgentProcessCollector creates a new OtelcolRunner as a child process on the same machine executing the test.

Types

type NginxAgentProcessOption

type NginxAgentProcessOption func(*agentProcessCollector)

func WithAgentExePath

func WithAgentExePath(exePath string) NginxAgentProcessOption

WithAgentExePath sets the path of the Collector executable

func WithEnvVar

func WithEnvVar(k, v string) NginxAgentProcessOption

WithEnvVar sets an additional environment variable for the process

Jump to

Keyboard shortcuts

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