Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { WorkerCount int Rate int64 TotalDuration time.Duration ReportingInterval time.Duration SkipSettingGRPCLogger bool // OTLP config CustomEndpoint string Insecure bool UseHTTP bool HTTPPath string Headers KeyValue ResourceAttributes KeyValue TelemetryAttributes KeyValue }
func (*Config) CommonFlags ¶
CommonFlags registers common config flags.
func (*Config) Endpoint ¶
Endpoint returns the appropriate endpoint URL based on the selected communication mode (gRPC or HTTP) or custom endpoint provided in the configuration.
func (*Config) GetAttributes ¶
func (*Config) GetTelemetryAttributes ¶ added in v0.87.0
Click to show internal directories.
Click to hide internal directories.