prometheus

package
v1.0.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Metrics metrics
View Source
var SkipSanityCheck bool = false

Functions

func Start

func Start(bind string)

Types

type MetricValues

type MetricValues struct {
	RequestsTotal   float64            `json:"requests_total"`
	RequestsFailed  float64            `json:"requests_failed"`
	RequestsError   float64            `json:"requests_error"`
	RequestsBlength float64            `json:"requests_failed_bodylength"`
	RequestsAborted float64            `json:"requests_aborted"`
	ResponseTimes   map[string]float64 `json:"response_times"`
	ResponseCodes   map[string]float64 `json:"response_codes"`
	ResponseBytes   float64            `json:"response_bytes"`
	Workers         float64            `json:"workers"`
	Duration        time.Duration      `json:"duration"`
	RequestsPerSec  float64            `json:"requests_per_sec"`
	Tolerance       float64            `json:"tolerance"`
}

Jump to

Keyboard shortcuts

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