monitoring

package
v0.56.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PriorityClassName = "giantswarm-critical"

	QueueConfigCapacity          = 30000
	QueueConfigMaxSamplesPerSend = 150000
	QueueConfigMaxShards         = 10
	QueueConfigSampleAgeLimit    = "30m"

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

	// Loki configuration (TODO move elsewhere) and remove the write prefix eventually
	LokiBaseURLFormat = "https://write.loki.%s"
	LokiPushURLFormat = LokiBaseURLFormat + "/loki/api/v1/push"

	// TODO: move these Loki secret keys to a more appropriate location
	// Secret keys used for Loki authentication in Alloy configurations
	LokiURLKey         = "logging-url"
	LokiTenantIDKey    = "logging-tenant-id"
	LokiUsernameKey    = "logging-username"
	LokiPasswordKey    = "logging-password"
	LokiRulerAPIURLKey = "ruler-api-url"

	// Loki performance tuning constants
	LokiMaxBackoffPeriod = "10m"
	LokiRemoteTimeout    = "60s"

	// Tempo configuration (TODO move elsewhere)
	TempoIngressURLFormat = "tempo-gateway.%s"

	// TODO move elsewhere
	OrgIDHeader = "X-Scope-OrgID"
)

Variables

This section is empty.

Functions

func GetClusterShardingStrategy

func GetClusterShardingStrategy(cluster metav1.Object) (s *sharding.Strategy, err 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