traces

package
v0.116.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *Config, logger *zap.Logger) error

Run executes the test scenario.

func Start

func Start(cfg *Config) error

Types

type Config

type Config struct {
	common.Config
	NumTraces        int
	NumChildSpans    int
	PropagateContext bool
	ServiceName      string
	StatusCode       string
	Batch            bool
	LoadSize         int

	SpanDuration time.Duration
}

Config describes the test scenario.

func (*Config) Flags

func (c *Config) Flags(fs *pflag.FlagSet)

Flags registers config flags.

func (*Config) Validate added in v0.112.0

func (c *Config) Validate() error

Validate validates the test scenario parameters.

Jump to

Keyboard shortcuts

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