monitoring

package
v0.46.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// secret is created in via https://github.com/giantswarm/alloy-app/blob/main/helm/alloy/templates/secret.yaml.
	// this means the secret is created in the same namespace and with the same name as the alloy app.
	AlloyMonitoringAgentAppName      = "alloy-metrics"
	AlloyMonitoringAgentAppNamespace = "kube-system"

	// 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
	QueueConfigSampleAgeLimit    = "30m"

	RemoteWriteName              = "mimir"
	MimirBaseURLFormat           = "https://mimir.%s"
	RemoteWriteEndpointURLFormat = MimirBaseURLFormat + "/api/v1/push"
	RemoteWriteTimeout           = "60s"

	OrgIDHeader        = "X-Scope-OrgID"
	DefaultWriteTenant = "giantswarm"
)

Variables

View Source
var DefaultReadTenant = "giantswarm"

Functions

func GetClusterShardingStrategy

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

func GetMimirIngressPassword

func GetMimirIngressPassword(ctx context.Context, k8sClient client.Client) (string, error)

func GetServicePriority

func GetServicePriority(cluster *clusterv1.Cluster) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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