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
Click to show internal directories.
Click to hide internal directories.