logs

package
v0.57.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ConfigMapName = "logging-config"
	SecretName    = "logging-secret"
)
View Source
const (
	// NetworkMonitoringMinVersion is the minimum observability bundle version required for network monitoring (Beyla)
	NetworkMonitoringMinVersion = "2.3.0"
	// AlloyNodeFilterFixedObservabilityBundleAppVersion is the bundle version with the node filtering fix
	AlloyNodeFilterFixedObservabilityBundleAppVersion = "2.4.0"
	// AlloyNodeFilterImageVersion is the Alloy version to use when node filtering is enabled but bundle version is below the fix
	AlloyNodeFilterImageVersion = "1.12.0"
)

Version constraints that control feature availability based on observability bundle version

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(cluster *clusterv1.Cluster) *v1.ConfigMap

func Secret

func Secret(cluster *clusterv1.Cluster) *v1.Secret

Types

type Service

type Service struct {
	Client                 client.Client
	OrganizationRepository organization.OrganizationRepository
	TenantRepository       tenancy.TenantRepository
	Config                 config.Config
	LogsAuthManager        auth.AuthManager
}

func (*Service) GenerateAlloyLogsConfigMapData

func (s *Service) GenerateAlloyLogsConfigMapData(ctx context.Context, cluster *clusterv1.Cluster, observabilityBundleVersion semver.Version, networkMonitoringEnabled bool) (map[string]string, error)

func (*Service) GenerateAlloyLogsSecretData

func (s *Service) GenerateAlloyLogsSecretData(ctx context.Context, cluster *clusterv1.Cluster) (map[string][]byte, error)

func (*Service) ReconcileCreate

func (s *Service) ReconcileCreate(ctx context.Context, cluster *clusterv1.Cluster, observabilityBundleVersion semver.Version) error

func (*Service) ReconcileDelete

func (s *Service) ReconcileDelete(ctx context.Context, cluster *clusterv1.Cluster) error

Jump to

Keyboard shortcuts

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