logs

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: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

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

Run executes the test scenario.

func Start

func Start(cfg *Config) error

Start starts the log telemetry generator

Types

type Config

type Config struct {
	common.Config
	NumLogs        int
	Body           string
	SeverityText   string
	SeverityNumber int32
	TraceID        string
	SpanID         string
}

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.102.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