metrics

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAlertLevel added in v0.8.2

func GetAlertLevel(name string) (float64, error)

GetAlertLevel returns alert level from the metric use for testing purposes

func SetAlertLevel

func SetAlertLevel(name string, level alert.Level)

SetAlertLevel sets alert level

func SetScriptsActive added in v0.7.0

func SetScriptsActive(name string, active bool)

SetScriptsActive updates data for metrics metricScripts

func SetVersion

func SetVersion(version string)

SetVersion updates data for metrics metricInfoVersion

Types

This section is empty.

Jump to

Keyboard shortcuts

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