routemonitors

package
v0.0.0-...-ea728a0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteMonData

type RouteMonData struct {
	Time, Value float64
}

Data Structure used to store time-value values of Route Monitor Data

type RouteMonitors

type RouteMonitors struct {
	Monitors map[string]<-chan *vegeta.Result
	Metrics  map[string]*vegeta.Metrics
	Plots    map[string]*plot.Plot

	ReportData map[string][]RouteMonData
	// contains filtered or unexported fields
}

func Create

func Create(ctx context.Context, h *helper.H) (*RouteMonitors, error)

Detects the available routes in the cluster and initializes monitors for their availability

func (*RouteMonitors) End

func (rm *RouteMonitors) End()

Sets the RouteMonitors to cease polling the configured routes with traffic

func (*RouteMonitors) ExtractData

func (rm *RouteMonitors) ExtractData(baseDir string) error

Extracts the numbers and title from the route monitor plot files

func (*RouteMonitors) SavePlots

func (rm *RouteMonitors) SavePlots(baseDir string) error

Saves HTML-formatted latency plots in the specified base directory

func (*RouteMonitors) SaveReports

func (rm *RouteMonitors) SaveReports(baseDir string) error

Saves the measured RouteMonitor metrics in HDR Histogram reports in the specified base directory

func (*RouteMonitors) Start

func (rm *RouteMonitors) Start()

Sets the RouteMonitors to begin polling the configured routes with traffic

func (*RouteMonitors) StoreMetadata

func (rm *RouteMonitors) StoreMetadata()

Stores the measured RouteMonitor metrics inside osde2e metadata for DataHub

Jump to

Keyboard shortcuts

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