prometheus_operator

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalPromOperatorDriver

type ExternalPromOperatorDriver struct {
	ExternalPromOperatorDriverOptions
	// contains filtered or unexported fields
}

func (*ExternalPromOperatorDriver) ConfigureNode

func (d *ExternalPromOperatorDriver) ConfigureNode(nodeId string, conf *node.MetricsCapabilityConfig) error

func (*ExternalPromOperatorDriver) ConfigureRuleGroupFinder

func (d *ExternalPromOperatorDriver) ConfigureRuleGroupFinder(config *v1beta1.RulesSpec) notifier.Finder[rules.RuleGroup]

func (*ExternalPromOperatorDriver) DiscoverPrometheuses

func (d *ExternalPromOperatorDriver) DiscoverPrometheuses(ctx context.Context, namespace string) ([]*remoteread.DiscoveryEntry, error)

type ExternalPromOperatorDriverOptions

type ExternalPromOperatorDriverOptions struct {
	K8sClient client.Client      `option:"k8sClient"`
	Logger    *zap.SugaredLogger `option:"logger"`
	Namespace string             `option:"namespace"`
}

Jump to

Keyboard shortcuts

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