monitoringstack

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdditionalScrapeConfigsSelfScrapeKey = "self-scrape-config"
	PrometheusUserFSGroupID              = int64(65534)
	AlertmanagerUserFSGroupID            = int64(65535)
)
View Source
const (
	AvailableReason                = "MonitoringStackAvailable"
	ReconciledReason               = "MonitoringStackReconciled"
	FailedToReconcileReason        = "FailedToReconcile"
	PrometheusNotAvailable         = "PrometheusNotAvailable"
	PrometheusNotReconciled        = "PrometheusNotReconciled"
	PrometheusDegraded             = "PrometheusDegraded"
	ResourceSelectorIsNil          = "ResourceSelectorNil"
	CannotReadPrometheusConditions = "Cannot read Prometheus status conditions"
	AvailableMessage               = "Monitoring Stack is available"
	SuccessfullyReconciledMessage  = "Monitoring Stack is successfully reconciled"
	ResourceSelectorIsNilMessage   = "No resources will be discovered, ResourceSelector is nil"
	ResourceDiscoveryOnMessage     = "Resource discovery is operational"
	NoReason                       = "None"
)

Variables

This section is empty.

Functions

func RegisterWithManager

func RegisterWithManager(mgr ctrl.Manager, opts Options) error

RegisterWithManager registers the controller with Manager

Types

type AlertmanagerConfiguration

type AlertmanagerConfiguration struct {
	Image string
}

type Options

type Options struct {
	InstanceSelector string
	Prometheus       PrometheusConfiguration
	Alertmanager     AlertmanagerConfiguration
	Thanos           ThanosConfiguration
}

Options allows for controller options to be set

type PrometheusConfiguration

type PrometheusConfiguration struct {
	Image string
}

type ThanosConfiguration

type ThanosConfiguration struct {
	Image string
}

Jump to

Keyboard shortcuts

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