monitoring

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AlloyMonitoringAgentAppName = "alloy-metrics"
	AlloyRequestsCPU            = "100m"
	AlloyRequestsMemory         = "2048Mi"

	// DefaultShards is the default number of shards to use.
	DefaultShards = 1

	// Values accepted by the monitoring-agent flag
	MonitoringAgentPrometheus = "prometheus-agent"
	MonitoringAgentAlloy      = "alloy"
	// Applications name in the observability-bundle
	MonitoringPrometheusAgentAppName = "prometheusAgent"
	MonitoringAlloyAppName           = "alloyMetrics"

	PriorityClassName = "giantswarm-critical"

	QueueConfigCapacity          = 30000
	QueueConfigMaxSamplesPerSend = 150000
	QueueConfigMaxShards         = 10

	RemoteWriteName                = "mimir"
	RemoteWriteEndpointTemplateURL = "https://mimir.%s/api/v1/push"
	RemoteWriteTimeout             = "60s"
)
View Source
const ObservabilityBundleAppName string = "observability-bundle"

Variables

This section is empty.

Functions

func GetClusterShardingStrategy

func GetClusterShardingStrategy(cluster metav1.Object) (*sharding.Strategy, error)

func GetMimirIngressPassword

func GetMimirIngressPassword(ctx context.Context) (string, error)

func GetObservabilityBundleAppVersion

func GetObservabilityBundleAppVersion(cluster *clusterv1.Cluster, client client.Client, ctx context.Context) (version semver.Version, err error)

func GetServicePriority

func GetServicePriority(cluster *clusterv1.Cluster) string

func ObservabilityBundleAppMeta

func ObservabilityBundleAppMeta(cluster *clusterv1.Cluster) metav1.ObjectMeta

ObservabilityBundleAppMeta returns metadata for the observability bundle app.

Types

This section is empty.

Jump to

Keyboard shortcuts

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