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.
Click to show internal directories.
Click to hide internal directories.