metrics

package
v0.110.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

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

Run executes the test scenario.

func Start

func Start(cfg *Config) error

Start starts the metric telemetry generator

Types

type Config

type Config struct {
	common.Config
	NumMetrics int
	MetricName string
	MetricType metricType
	SpanID     string
	TraceID    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