Documentation
¶
Index ¶
- Constants
- Variables
- func GetClusterShardingStrategy(cluster metav1.Object) (*sharding.Strategy, error)
- func GetMimirIngressPassword(ctx context.Context) (string, error)
- func GetObservabilityBundleAppVersion(cluster *clusterv1.Cluster, client client.Client, ctx context.Context) (version semver.Version, err error)
- func GetServicePriority(cluster *clusterv1.Cluster) string
- func ObservabilityBundleAppMeta(cluster *clusterv1.Cluster) metav1.ObjectMeta
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" )
View Source
const ObservabilityBundleAppName string = "observability-bundle"
Variables ¶
View Source
var DefaultReadTenants = []string{"anonymous", "giantswarm"}
Functions ¶
func GetServicePriority ¶
func ObservabilityBundleAppMeta ¶
func ObservabilityBundleAppMeta(cluster *clusterv1.Cluster) metav1.ObjectMeta
ObservabilityBundleAppMeta returns metadata for the observability bundle app.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.