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:
| Variable | Description | Mandatory | Default |
|---|---|---|---|
| CLUSTER_VAR_observability_otlp_auth_enabled | Enables 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. | No | false |
| CLUSTER_VAR_observability_otlp_endpoint | Specifies 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. | No | None |
| CLUSTER_VAR_tempo_autoscaling_enabled | Enables or disables the HorizontalPodAutoscalers for Tempo. | No | true |
| CLUSTER_VAR_tempo_replicas | Specifies the number of Tempo replicas. | No | 1 |
| CLUSTER_VAR_tracing_enabled | Enables 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. | No | true |
| CLUSTER_VAR_tracing_sampling_percentage | Specifies the percentage of traces that Alloy keeps. | No | 10 |
| MONITORING_ENABLED | Enables 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. | No | true |
| SECRET_OBSERVABILITY_OTLP_AUTHORIZATION | Specifies 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. | No | None |
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.
| Variable | Description | Mandatory | Default |
|---|---|---|---|
| CLUSTER_VAR_<component>_hpa_cpu_utilization | Specifies the CPU utilization target of the component, as a percentage of the CPU request. For example, CLUSTER_VAR_loki_read_hpa_cpu_utilization. | No | ccf default |
| CLUSTER_VAR_<component>_hpa_max_replicas | Specifies the maximum number of replicas of the component. | No | ccf default |
| CLUSTER_VAR_<component>_hpa_memory_utilization | Specifies 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. | No | ccf default |
| CLUSTER_VAR_<component>_hpa_min_replicas | Specifies the minimum number of replicas of the component. | No | ccf default |
| CLUSTER_VAR_loki_volume_size | Specifies the size of the Loki backend volume, for example, 10Gi. The size applies only at the first installation. | No | ccf default |
| CLUSTER_VAR_mimir_store_gateway_volume_size | Specifies the size of the Mimir store gateway volume, for example, 20Gi. The size applies only at the first installation. | No | ccf 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.
| Variable | Description | Mandatory | Default |
|---|---|---|---|
| SECRET_METERING_DATABUS_ACCESS_KEY_ID | Specifies the accessKey.accessKeyId value of the CDP V2 access key. The value must be a UUID. | Yes, when SECRET_OBSERVABILITY_OTLP_AUTHORIZATION is set | None |
| SECRET_METERING_DATABUS_PRIVATE_KEY | Specifies the privateKey value of the CDP V2 access key. The value must be standard base64. | Yes, when SECRET_OBSERVABILITY_OTLP_AUTHORIZATION is set | None |
| SECRET_METERING_DATABUS_REGION | Specifies the DBus region, for example, us-west-2. | Yes, when SECRET_OBSERVABILITY_OTLP_AUTHORIZATION is set | None |
| SECRET_METERING_DATABUS_TENANT_ID | Specifies the DBus tenant ID. | Yes, when SECRET_OBSERVABILITY_OTLP_AUTHORIZATION is set | None |
