monitoring

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 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
	// TODO(atlas): validate prometheus version using SemVer
	PrometheusVersion string
}

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

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