Documentation ¶
Index ¶
- type OTELNodeDriver
- func (o *OTELNodeDriver) ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig) error
- func (*OTELNodeDriver) ConfigureRuleGroupFinder(_ *v1beta1.RulesSpec) notifier.Finder[rules.RuleGroup]
- func (o *OTELNodeDriver) DiscoverPrometheuses(_ context.Context, _ string) ([]*remoteread.DiscoveryEntry, error)
- type OTELNodeDriverOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OTELNodeDriver ¶
type OTELNodeDriver struct { OTELNodeDriverOptions // contains filtered or unexported fields }
func NewOTELDriver ¶
func NewOTELDriver(options OTELNodeDriverOptions) (*OTELNodeDriver, error)
func (*OTELNodeDriver) ConfigureNode ¶
func (o *OTELNodeDriver) ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig) error
func (*OTELNodeDriver) ConfigureRuleGroupFinder ¶
func (*OTELNodeDriver) DiscoverPrometheuses ¶
func (o *OTELNodeDriver) DiscoverPrometheuses(_ context.Context, _ string) ([]*remoteread.DiscoveryEntry, error)
no-op
type OTELNodeDriverOptions ¶
type OTELNodeDriverOptions struct { K8sClient client.Client `option:"k8sClient"` Logger *zap.SugaredLogger `option:"logger"` Namespace string `option:"namespace"` }
Click to show internal directories.
Click to hide internal directories.