Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NodeDrivers = driverutil.NewDriverCache[MetricsNodeDriver]()
Functions ¶
func NewListenerFunc ¶
func NewListenerFunc(ctx context.Context, fn func(nodeId string, cfg *node.MetricsCapabilityConfig)) chan<- ConfigureNodeArgs
Types ¶
type ConfigureNodeArgs ¶ added in v0.9.2
type ConfigureNodeArgs struct { NodeId string Config *node.MetricsCapabilityConfig }
type MetricsNodeDriver ¶
type MetricsNodeDriver interface { ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig) 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.