opni_manager_otel

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

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) ConfigureRuleGroupFinder(_ *v1beta1.RulesSpec) notifier.Finder[rules.RuleGroup]

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    *slog.Logger  `option:"logger"`
	Namespace string        `option:"namespace"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL