Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NodeDrivers = driverutil.NewDriverCache[MetricsNodeDriver]()
Functions ¶
This section is empty.
Types ¶
type ConfigurationError ¶ added in v0.10.0
type ConfigurationError struct { NodeId string Cfg *node.MetricsCapabilityConfig Err error }
func (*ConfigurationError) Error ¶ added in v0.10.0
func (e *ConfigurationError) Error() string
type MetricsNodeConfigurator ¶ added in v0.10.0
type MetricsNodeConfigurator interface {
ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig) error
}
type MetricsNodeDriver ¶
type MetricsNodeDriver interface { MetricsNodeConfigurator DiscoverPrometheuses(context.Context, string) ([]*remoteread.DiscoveryEntry, error) ConfigureRuleGroupFinder(config *v1beta1.RulesSpec) notifier.Finder[rules.RuleGroup] }
Click to show internal directories.
Click to hide internal directories.