Monitoring and observability variables

Set the monitoring and observability variables to control the monitoring stack, the tracing pipeline, and the off-cluster export of observability data.

The following table lists the variables that control the monitoring stack, the tracing pipeline, and the off-cluster export of observability data:

Table 1. Monitoring and observability variables
VariableDescriptionMandatoryDefault
CLUSTER_VAR_observability_otlp_auth_enabledEnables or disables the authorization header on the off-cluster export. The installer derives true when both the endpoint and the authorization secret are set, and an explicit value overrides the derived value.Nofalse
CLUSTER_VAR_observability_otlp_endpointSpecifies the base OpenTelemetry Protocol over HTTP URL for the off-cluster export, for example, https://otlp.example.com. The installer appends /v1/traces, /v1/metrics, and /v1/logs. An empty value disables the export.NoNone
CLUSTER_VAR_tempo_autoscaling_enabledEnables or disables the HorizontalPodAutoscalers for Tempo.Notrue
CLUSTER_VAR_tempo_replicasSpecifies the number of Tempo replicas.No1
CLUSTER_VAR_tracing_enabledEnables or disables tracing. Setting this variable to false also sets the Tempo replicas to 0, disables the Tempo autoscalers, and sets the Alloy sampling percentage to 0.Notrue
CLUSTER_VAR_tracing_sampling_percentageSpecifies the percentage of traces that Alloy keeps.No10
MONITORING_ENABLEDEnables or disables the monitoring stack. Setting this variable to false suspends the flux-system/monitoring Kustomization, so Flux reconciles no release in the monitoring namespace.Notrue
SECRET_OBSERVABILITY_OTLP_AUTHORIZATIONSpecifies the complete Authorization header value for the OpenTelemetry endpoint, for example, Bearer <token>. The installer stores the value in the observability-otlp-auth Secret in the monitoring namespace. When you set this variable, you must also set the DBus metering variables.NoNone

Autoscaling and volume sizes

The stateless monitoring components autoscale with HorizontalPodAutoscalers. The components are loki_read, loki_write, loki_backend, mimir_distributor, mimir_querier, mimir_query_frontend, mimir_gateway, tempo_distributor, tempo_querier, tempo_query_frontend, and alloy_direct. Leave a variable empty to keep the ccf default. The monitoring variables apply only when MONITORING_ENABLED is not false.

Table 2. Autoscaling and volume size variables
VariableDescriptionMandatoryDefault
CLUSTER_VAR_<component>_hpa_cpu_utilizationSpecifies the CPU utilization target of the component, as a percentage of the CPU request. For example, CLUSTER_VAR_loki_read_hpa_cpu_utilization.Noccf default
CLUSTER_VAR_<component>_hpa_max_replicasSpecifies the maximum number of replicas of the component.Noccf default
CLUSTER_VAR_<component>_hpa_memory_utilizationSpecifies the memory utilization target of the component, as a percentage of the memory request. The defaults are above 100, because the requests are lower than the limits.Noccf default
CLUSTER_VAR_<component>_hpa_min_replicasSpecifies the minimum number of replicas of the component.Noccf default
CLUSTER_VAR_loki_volume_sizeSpecifies the size of the Loki backend volume, for example, 10Gi. The size applies only at the first installation.Noccf default
CLUSTER_VAR_mimir_store_gateway_volume_sizeSpecifies the size of the Mimir store gateway volume, for example, 20Gi. The size applies only at the first installation.Noccf default

DBus metering credentials

Set the following variables when you set SECRET_OBSERVABILITY_OTLP_AUTHORIZATION. When that variable is empty, the installer does not create the metering-dbus-credentials Secret and does not ask for these values. Generate a CDP V2 access key outside the installer, and copy the values from its output. During the cluster-secrets phase, the installer validates the values and writes them as a credential file to the metering-dbus-credentials Secret in the ccf-metering namespace. Run the cluster-secrets phase again after you rotate the access key.

Table 3. DBus metering variables
VariableDescriptionMandatoryDefault
SECRET_METERING_DATABUS_ACCESS_KEY_IDSpecifies the accessKey.accessKeyId value of the CDP V2 access key. The value must be a UUID.Yes, when SECRET_OBSERVABILITY_OTLP_AUTHORIZATION is setNone
SECRET_METERING_DATABUS_PRIVATE_KEYSpecifies the privateKey value of the CDP V2 access key. The value must be standard base64.Yes, when SECRET_OBSERVABILITY_OTLP_AUTHORIZATION is setNone
SECRET_METERING_DATABUS_REGIONSpecifies the DBus region, for example, us-west-2.Yes, when SECRET_OBSERVABILITY_OTLP_AUTHORIZATION is setNone
SECRET_METERING_DATABUS_TENANT_IDSpecifies the DBus tenant ID.Yes, when SECRET_OBSERVABILITY_OTLP_AUTHORIZATION is setNone