metrics

package
v0.0.3-RC32 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: AGPL-3.0, AGPL-3.0-or-later Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateAndPrint

func CalculateAndPrint(prometheusResp *http.Response, profilingResult string, elapsed time.Duration, sequencerTimeSub, executorTimeSub float64, nTxs int)

CalculateAndPrint calculates and prints the results

func FetchProfiling

func FetchProfiling() (string, error)

FetchProfiling fetches the profiling metrics

func FetchPrometheus

func FetchPrometheus() (*http.Response, error)

FetchPrometheus fetches the prometheus metrics

func GetValues

func GetValues(metricsResponse *http.Response) (float64, float64, float64, error)

GetValues gets the prometheus metric values

func PrintPrometheus

func PrintPrometheus(totalTime float64, executorTime float64, workerTime float64)

PrintPrometheus prints the prometheus metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

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