metrics

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestingMetrics

func NewTestingMetrics() map[string]TestMetric

NewTestingMetrics is used to add more metrics and monitoring thresholds for regression tests. To add another metrics

1, add the metrics name into constant variable
2, add expected upper threshold into this map

Types

type TestMetric

type TestMetric struct {
	MetricsName      string
	MetricsThreshold float64
}

Jump to

Keyboard shortcuts

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