From c69e6ba220d6510e66989e48a2899ea41022f3dd Mon Sep 17 00:00:00 2001 From: Shuning Date: Mon, 2 Feb 2026 18:29:45 +0800 Subject: [PATCH 1/7] bump cactus parser chart version and add OTEL_ENABLED to disable opentelemetry --- charts/cactus-backend/Chart.yaml | 4 ++-- charts/cactus-backend/values.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/cactus-backend/Chart.yaml b/charts/cactus-backend/Chart.yaml index 4afa503..0231d37 100644 --- a/charts/cactus-backend/Chart.yaml +++ b/charts/cactus-backend/Chart.yaml @@ -25,10 +25,10 @@ dependencies: repository: https://juicedata.github.io/charts/ condition: juicefs-s3-gateway.enabled - name: cactus-parser - version: 0.0.3 + version: 0.0.5 repository: https://charts.lookingglassprotocol.com condition: cactus-parser.enabled - name: opentelemetry-collector version: 0.143.0 - condition: opentelemetry-collector.enabled + condition: envVars.OTEL_ENABLED repository: https://open-telemetry.github.io/opentelemetry-helm-charts diff --git a/charts/cactus-backend/values.yaml b/charts/cactus-backend/values.yaml index 2ec015b..1238215 100644 --- a/charts/cactus-backend/values.yaml +++ b/charts/cactus-backend/values.yaml @@ -292,6 +292,7 @@ configFiles: envVars: PORT: 8080 ADMIN_PORT: 18190 + OTEL_ENABLED: false ENV: prod # Anything other than 'test' AUKI_API_URL: https://api.auki.network # The URL of the AUKI API AUKI_DDS_URL: https://dds.auki.network # The URL of the DDS @@ -393,7 +394,6 @@ cactus-parser: envVars: OTEL_COLLECTOR_GRPC_ENDPOINT: http://cactus-backend-opentelemetry-collector:4317 # The grpc endpoint for the opentelemetry collector, it should be Release.name-opentelemetry-collector:4317. opentelemetry-collector: - enabled: false mode: deployment image: repository: otel/opentelemetry-collector-contrib From e6eee6486b40735868eac09c9b637fc74c41aab9 Mon Sep 17 00:00:00 2001 From: Shuning Date: Mon, 2 Feb 2026 18:35:38 +0800 Subject: [PATCH 2/7] bump version and updated README --- charts/cactus-backend/Chart.yaml | 2 +- charts/cactus-backend/README.md | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/charts/cactus-backend/Chart.yaml b/charts/cactus-backend/Chart.yaml index 0231d37..e53fdb8 100644 --- a/charts/cactus-backend/Chart.yaml +++ b/charts/cactus-backend/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: cactus-backend description: A backend that exposes an API for the Cactus app to use. type: application -version: 0.5.10 +version: 0.5.11 appVersion: "0.2" maintainers: - name: dataviruset diff --git a/charts/cactus-backend/README.md b/charts/cactus-backend/README.md index 3022fba..6221286 100644 --- a/charts/cactus-backend/README.md +++ b/charts/cactus-backend/README.md @@ -63,7 +63,7 @@ To upgrade your deployment: helm upgrade cactus-backend matterless/cactus-backend ``` -**Important:** +**Important:** Before upgrading from chart version please review the following steps: 1. **Review the [values.yaml](./values.yaml) file** for any new, deprecated, or changed configuration options. @@ -128,6 +128,12 @@ Version 0.5.0 introduces significant changes to the feature set of the Cactus Ba * For Prometheus integration, enable `podMonitor` and the `prometheus` port, and see the [Spanmetrics Connector for Prometheus](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/connector/spanmetricsconnector). * For additional configuration details, consult the [OpenTelemetry Collector documentation](https://github.com/open-telemetry/opentelemetry-helm-charts/tree/main/charts/opentelemetry-collector). +### Upgrading to 0.5.11 + +#### Features + +* You can enable or disable OpenTelemetry for both the application and its dependencies as needed. To activate OpenTelemetry in both the Cactus Backend and the opentelemetry-collector dependency, set `cactus-backend.envVars.OTEL_ENABLED` to `true`. + ## Chart Structure - `Chart.yaml` - Chart metadata From cff83fc8f5de166432ce56d946e935b16341f9bd Mon Sep 17 00:00:00 2001 From: Shuning Date: Mon, 2 Feb 2026 18:47:43 +0800 Subject: [PATCH 3/7] separate opentelemetry-collector.enabled and OTEL_ENABLED --- charts/cactus-backend/Chart.yaml | 2 +- charts/cactus-backend/README.md | 2 +- charts/cactus-backend/values.yaml | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/cactus-backend/Chart.yaml b/charts/cactus-backend/Chart.yaml index e53fdb8..d47432e 100644 --- a/charts/cactus-backend/Chart.yaml +++ b/charts/cactus-backend/Chart.yaml @@ -30,5 +30,5 @@ dependencies: condition: cactus-parser.enabled - name: opentelemetry-collector version: 0.143.0 - condition: envVars.OTEL_ENABLED + condition: opentelemetry-collector.enabled repository: https://open-telemetry.github.io/opentelemetry-helm-charts diff --git a/charts/cactus-backend/README.md b/charts/cactus-backend/README.md index 6221286..8d60e9f 100644 --- a/charts/cactus-backend/README.md +++ b/charts/cactus-backend/README.md @@ -132,7 +132,7 @@ Version 0.5.0 introduces significant changes to the feature set of the Cactus Ba #### Features -* You can enable or disable OpenTelemetry for both the application and its dependencies as needed. To activate OpenTelemetry in both the Cactus Backend and the opentelemetry-collector dependency, set `cactus-backend.envVars.OTEL_ENABLED` to `true`. +* OpenTelemetry can be toggled on or off as required. To enable it for both the Cactus Backend and Cactus Parser, set `cactus-backend.envVars.OTEL_ENABLED` and `cactus-backend.cactus-parser.envVars.OTEL_ENABLED` to `true`. ## Chart Structure diff --git a/charts/cactus-backend/values.yaml b/charts/cactus-backend/values.yaml index 1238215..21890bf 100644 --- a/charts/cactus-backend/values.yaml +++ b/charts/cactus-backend/values.yaml @@ -292,7 +292,6 @@ configFiles: envVars: PORT: 8080 ADMIN_PORT: 18190 - OTEL_ENABLED: false ENV: prod # Anything other than 'test' AUKI_API_URL: https://api.auki.network # The URL of the AUKI API AUKI_DDS_URL: https://dds.auki.network # The URL of the DDS @@ -341,6 +340,7 @@ envVars: # APP_KEY: cactus-backend # This is the app key used together with the app secret (defined in the secretData above or by using existingSecret) to access Auki services. You should obtain it from the apps section of the Auki console. OTEL_COLLECTOR_GRPC_ENDPOINT: http://cactus-backend-opentelemetry-collector:4317 # The grpc endpoint for the opentelemetry collector, it should be Release.name-opentelemetry-collector:4317. + OTEL_ENABLED: false ## Autoscaling configuration ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ autoscaling: @@ -393,7 +393,9 @@ cactus-parser: enabled: false envVars: OTEL_COLLECTOR_GRPC_ENDPOINT: http://cactus-backend-opentelemetry-collector:4317 # The grpc endpoint for the opentelemetry collector, it should be Release.name-opentelemetry-collector:4317. + OTEL_ENABLED: false opentelemetry-collector: + enabled: false mode: deployment image: repository: otel/opentelemetry-collector-contrib From 0ac267297aeba8a947a24ade33422e5782962b1a Mon Sep 17 00:00:00 2001 From: Shuning Date: Mon, 2 Feb 2026 19:00:29 +0800 Subject: [PATCH 4/7] fix README --- charts/cactus-backend/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/cactus-backend/README.md b/charts/cactus-backend/README.md index 8d60e9f..089c551 100644 --- a/charts/cactus-backend/README.md +++ b/charts/cactus-backend/README.md @@ -132,7 +132,7 @@ Version 0.5.0 introduces significant changes to the feature set of the Cactus Ba #### Features -* OpenTelemetry can be toggled on or off as required. To enable it for both the Cactus Backend and Cactus Parser, set `cactus-backend.envVars.OTEL_ENABLED` and `cactus-backend.cactus-parser.envVars.OTEL_ENABLED` to `true`. +* OpenTelemetry integration is disabled by default. To enable telemetry for both the Cactus Backend and Cactus Parser, set `cactus-backend.envVars.OTEL_ENABLED` and `cactus-backend.cactus-parser.envVars.OTEL_ENABLED` to `true` in your configuration. ## Chart Structure From fd5c59ded1853cfea143f021000f44b8ee547b8b Mon Sep 17 00:00:00 2001 From: Shuning Date: Tue, 3 Feb 2026 15:51:33 +0800 Subject: [PATCH 5/7] updated README.md --- charts/cactus-backend/README.md | 4 ++-- charts/cactus-parser/Chart.yaml | 2 +- charts/cactus-parser/values.yaml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/charts/cactus-backend/README.md b/charts/cactus-backend/README.md index 089c551..bbadc2f 100644 --- a/charts/cactus-backend/README.md +++ b/charts/cactus-backend/README.md @@ -130,9 +130,9 @@ Version 0.5.0 introduces significant changes to the feature set of the Cactus Ba ### Upgrading to 0.5.11 -#### Features +#### Fixes -* OpenTelemetry integration is disabled by default. To enable telemetry for both the Cactus Backend and Cactus Parser, set `cactus-backend.envVars.OTEL_ENABLED` and `cactus-backend.cactus-parser.envVars.OTEL_ENABLED` to `true` in your configuration. +* OpenTelemetry integration is now disabled by default. To enable telemetry for both the Cactus Backend and Cactus Parser, set `cactus-backend.envVars.OTEL_ENABLED` and `cactus-backend.cactus-parser.envVars.OTEL_ENABLED` to `true` in your configuration. If you would like to use the OpenTelemetry sub-chart it can be enabled by setting `opentelemetry-collector.enable` to true just like before. ## Chart Structure diff --git a/charts/cactus-parser/Chart.yaml b/charts/cactus-parser/Chart.yaml index f3aa512..e351e68 100644 --- a/charts/cactus-parser/Chart.yaml +++ b/charts/cactus-parser/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: cactus-parser description: Used to deploy parsers that load product data from a source when requested from cactus-backend type: application -version: 0.0.5 +version: 0.0.6 appVersion: "0.0" maintainers: - name: dataviruset diff --git a/charts/cactus-parser/values.yaml b/charts/cactus-parser/values.yaml index 9fa94d2..3df5ae3 100644 --- a/charts/cactus-parser/values.yaml +++ b/charts/cactus-parser/values.yaml @@ -282,6 +282,7 @@ envVars: S3_PATH_PREFIX: cactus-parser # The path prefix for the S3 bucket. This cannot be empty when blob storage type is s3. OTEL_COLLECTOR_GRPC_ENDPOINT: http://cactus-parser-opentelemetry-collector:4317 # The grpc endpoint for the opentelemetry collector, it should be Release.name-opentelemetry-collector:4317. + OTEL_ENABLED: false ## Autoscaling configuration ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ autoscaling: From 5a6c94544cce711528f010b4f9abafbf03aab9f0 Mon Sep 17 00:00:00 2001 From: Shuning Date: Tue, 3 Feb 2026 16:03:00 +0800 Subject: [PATCH 6/7] remove OTEL_ENABLED from cactus-backend.cactus-parser.envVars --- charts/cactus-backend/values.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/charts/cactus-backend/values.yaml b/charts/cactus-backend/values.yaml index 21890bf..e5ac867 100644 --- a/charts/cactus-backend/values.yaml +++ b/charts/cactus-backend/values.yaml @@ -340,7 +340,6 @@ envVars: # APP_KEY: cactus-backend # This is the app key used together with the app secret (defined in the secretData above or by using existingSecret) to access Auki services. You should obtain it from the apps section of the Auki console. OTEL_COLLECTOR_GRPC_ENDPOINT: http://cactus-backend-opentelemetry-collector:4317 # The grpc endpoint for the opentelemetry collector, it should be Release.name-opentelemetry-collector:4317. - OTEL_ENABLED: false ## Autoscaling configuration ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ autoscaling: From 7ee8353a76d05e04d5b37894bb2a0285ed99e722 Mon Sep 17 00:00:00 2001 From: Shuning Date: Tue, 3 Feb 2026 16:05:42 +0800 Subject: [PATCH 7/7] Revert "remove OTEL_ENABLED from cactus-backend.cactus-parser.envVars" This reverts commit 5a6c94544cce711528f010b4f9abafbf03aab9f0. --- charts/cactus-backend/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/cactus-backend/values.yaml b/charts/cactus-backend/values.yaml index e5ac867..21890bf 100644 --- a/charts/cactus-backend/values.yaml +++ b/charts/cactus-backend/values.yaml @@ -340,6 +340,7 @@ envVars: # APP_KEY: cactus-backend # This is the app key used together with the app secret (defined in the secretData above or by using existingSecret) to access Auki services. You should obtain it from the apps section of the Auki console. OTEL_COLLECTOR_GRPC_ENDPOINT: http://cactus-backend-opentelemetry-collector:4317 # The grpc endpoint for the opentelemetry collector, it should be Release.name-opentelemetry-collector:4317. + OTEL_ENABLED: false ## Autoscaling configuration ## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ autoscaling: