monitoring

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 3 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
	MonitoringAgent         string
	DefaultShardingStrategy sharding.Strategy
	// 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