alloy

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlloyRulerAPIURLEnvVarName                  = "RULER_API_URL"
	AlloyRemoteWriteURLEnvVarName               = "REMOTE_WRITE_URL"
	AlloyRemoteWriteNameEnvVarName              = "REMOTE_WRITE_NAME"
	AlloyRemoteWriteBasicAuthUsernameEnvVarName = "BASIC_AUTH_USERNAME"
	AlloyRemoteWriteBasicAuthPasswordEnvVarName = "BASIC_AUTH_PASSWORD" // #nosec G101
)
View Source
const (
	ConfigMapName = "monitoring-config"
	SecretName    = "monitoring-secret"
)

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

func (*Service) GenerateAlloyMonitoringConfigMapData

func (a *Service) GenerateAlloyMonitoringConfigMapData(ctx context.Context, currentState *v1.ConfigMap, cluster *clusterv1.Cluster, tenants []string, observabilityBundleVersion semver.Version) (map[string]string, error)

func (*Service) GenerateAlloyMonitoringSecretData

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

func (*Service) ReconcileCreate

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

func (*Service) ReconcileDelete

func (a *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