Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PatternKeywordSource represents the pattern keyword value for source name. PatternKeywordSource = "source" // PatternKeywordMetric represents the pattern keyword value for metric name. PatternKeywordMetric = "metric" )
Variables ¶
View Source
var ( // ErrInvalidAttribute represents an invalid attribute error. ErrInvalidAttribute = errors.New("invalid attribute") // ErrMissingMetricPattern represents a missing metric pattern keyword error. ErrMissingMetricPattern = errors.New("missing \"metric\" pattern keyword") // ErrMissingSourcePattern represents a missing source pattern keyword error. ErrMissingSourcePattern = errors.New("missing \"source\" pattern keyword") // ErrUnsupportedConnector represents an unsupported connector handler error. ErrUnsupportedConnector = errors.New("unsupported connector handler") // ErrUnknownSource represents an unknown source error. ErrUnknownSource = errors.New("unknown source") // ErrUnknownMetric represents an unknown metric error. ErrUnknownMetric = errors.New("unknown metric") )
Functions ¶
func ErrMissingConnectorSetting ¶
ErrMissingConnectorSetting creates a new missing connector setting error.
Types ¶
Click to show internal directories.
Click to hide internal directories.