metrics

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {

	// GetValue takes a query string and returns the resulting metric value as a float64 along with
	// an error if one was encountered. When implementing this interface function, it should handle
	// sending any Sherpa telemetry which directly reference to implementation name.
	GetValue(query string) (*float64, error)
}

Provider is the interface which all external metric providers must implement.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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