monitoring

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MonitoringFinalizer = "observability.giantswarm.io/monitoring"

MonitoringFinalizer is the finalizer for monitoring resources.

View Source
const MonitoringLabel = "giantswarm.io/monitoring"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.2.0

type Config struct {
	Enabled bool

	AlertmanagerSecretName string
	AlertmanagerURL        string
	AlertmanagerEnabled    bool

	MonitoringAgent         string
	DefaultShardingStrategy sharding.Strategy
	// WALTruncateFrequency is the frequency at which the WAL segments should be truncated.
	WALTruncateFrequency time.Duration
	PrometheusVersion    string
	MetricsQueryURL      string
	QueueConfig          QueueConfig
}

Config represents the configuration used by the monitoring package.

func (Config) IsMonitored added in v0.3.0

func (c Config) IsMonitored(cluster *clusterv1.Cluster) bool

Monitoring should be enabled when all conditions are met:

  • global monitoring flag is enabled
  • monitoring label is not set or is set to true on the cluster object

type QueueConfig added in v0.41.0

type QueueConfig struct {
	BatchSendDeadline *string
	Capacity          *int
	MaxBackoff        *string
	MaxSamplesPerSend *int
	MaxShards         *int
	MinBackoff        *string
	MinShards         *int
	RetryOnHttp429    *bool
	SampleAgeLimit    *string
}

QueueConfig represents the configuration for the remote write queue.

Directories

Path Synopsis
Package heartbeat provides functionality for managing heartbeats in Opsgenie.
Package heartbeat provides functionality for managing heartbeats in Opsgenie.

Jump to

Keyboard shortcuts

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