collector

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Subsystem      = "yoda"
	SubsystemSleep = 10 * time.Second
	UnHealthSleep  = 10 * time.Second

	YodaStatusMetricName = "status"
	YodaStatusHelp       = "Collects the status of the yoda oracle; 1.0: Oracle is active, 0.0: Oracle is inactive"

	// Collects the maximum number of current misses from all requests the validator
	// has to respond to and which are not yet expired
	YodaMaxMissesName = "max_miss_counter"
	YodaMaxMissesHelp = "Collects the maximum number of misses " +
		"from all requests the validator has currently to respond to " +
		"and which are not yet expired"

	// Collects the total number of current misses from all requests the validator
	YodaValidatorMissSummaryName = "validator_miss_summary"
	YodaValidatorMissSummaryHelp = "Collects the total number of current misses " +
		"from all requests the validator has to respond " +
		"to and which are not yet expired, " +
		"grouped by validator address. Only " +
		"enabled for validators selected in config "

	// Collect the total number of current misses from all requests the validator
	// and calculates responde percentiles in blocks
	YodaMissSummaryName = "miss_summary"
	YodaMissSummaryHelp = "Collects the total number of current " +
		"misses from all requests the validator and " +
		"calculates respond percentiles in blocks"

	// Shows the maximum number of blocks a yoda oracle has time to respond to a request
	YodaRequestSlashWindow     = "slash_window"
	YodaRequestSlashWindowHelp = "Maximum number of blocks a yoda oracle has " +
		"time to respond if a request was assigned to it"
)

Variables

This section is empty.

Functions

func Start

func Start(p common.Packager) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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