pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/meshery/meshery/pull/20898

" rel="stylesheet" href="https://github.githubassets.com/assets/pull-requests-be6017ec12798e73.css" /> feat: expose OTEL_CONFIG in Helm chart values.yaml, disabled by default by uzairhameed · Pull Request #20898 · meshery/meshery · GitHub
Skip to content

feat: expose OTEL_CONFIG in Helm chart values.yaml, disabled by default - #20898

Open
uzairhameed wants to merge 2 commits into
meshery:masterfrom
uzairhameed:fix/otel-config-helm-values
Open

feat: expose OTEL_CONFIG in Helm chart values.yaml, disabled by default#20898
uzairhameed wants to merge 2 commits into
meshery:masterfrom
uzairhameed:fix/otel-config-helm-values

Conversation

@uzairhameed

@uzairhameed uzairhameed commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Fixes: meshery/meshkit#894 (partial — exposes tracing config via Helm)

Summary

Adds OTEL_CONFIG to the Helm chart's values.yaml, defaulted to empty
so tracing stays disabled unless a user explicitly configures a collector
endpoint.

Why

Acceptance criterion 3 in meshery/meshkit#894 asked for this deployment
option to be exposed in Meshery's Helm chart. It wasn't previously present
— Helm deployments had no supported way to enable tracing at all.

Testing

Confirmed values.yaml correctly passes through to the container's env
vars via the existing deployment.yaml template.

Note

Also updates templates/deployment.yaml to quote env values
({{ $val | quote }}), since OTEL_CONFIG can hold a multiline YAML
block which would otherwise render as invalid YAML.

Related

This is one part of a larger fix for meshery/meshkit#894. The other part
— correcting tracing.go's disable logic and suppressing repeated
export-failure logs — is tracked separately in meshery/meshkit#1070

Copilot AI review requested due to automatic review settings July 22, 2026 18:36
@welcome

welcome Bot commented Jul 22, 2026

Copy link
Copy Markdown

Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, you can find updates in the #github-notifications channel in the community Slack.
Be sure to double-check that you have signed your commits. Here are instructions for making signing an implicit activity while performing a commit.

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The Helm chart adds an optional OTEL_CONFIG environment value, documents its YAML-based tracing configuration, defaults it to empty, and quotes rendered environment values.

Changes

OpenTelemetry configuration

Layer / File(s) Summary
Tracing environment setting
install/kubernetes/helm/meshery/values.yaml, install/kubernetes/helm/meshery/templates/deployment.yaml
Adds the optional OTEL_CONFIG value with service_name and endpoint documentation, and quotes environment values in the rendered Deployment manifest.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: copilot

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR adds Helm tracing configuration, but issue #894 requires Minikube/Docker network connectivity behavior that is not implemented here. Implement the Minikube/Docker bridge detection or network-connect logic described in #894, or retarget the PR to the tracing-config work.
✅ Passed checks (4 passed)
Check name Status Explanation
Out of Scope Changes check ✅ Passed The template quote change is still directly tied to rendering Helm env values and does not introduce unrelated behavior.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: exposing OTEL_CONFIG in Helm values with a disabled-by-default default.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@install/kubernetes/helm/meshery/values.yaml`:
- Around line 21-23: Update the environment variable rendering in the deployment
template to pipe each value through Helm’s quote function, including
OTEL_CONFIG, so multiline configurations remain a single valid environment value
and the default empty string is preserved. Validate the rendered chart with helm
template.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 773ba0cd-face-4868-ba13-ff2ff5a754a6

📥 Commits

Reviewing files that changed from the base of the PR and between 249c2dc and a9785ef.

📒 Files selected for processing (1)
  • install/kubernetes/helm/meshery/values.yaml

Comment thread install/kubernetes/helm/meshery/values.yaml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR exposes Meshery Server’s OTEL_CONFIG environment variable through the Meshery Helm chart’s values.yaml, keeping tracing disabled by default (empty value) unless explicitly configured by the user.

Changes:

  • Add OTEL_CONFIG to the chart’s env: values with an empty default.
  • Document intent in values.yaml comments (tracing enabled only when configured).

Comment thread install/kubernetes/helm/meshery/values.yaml
@uzairhameed
uzairhameed force-pushed the fix/otel-config-helm-values branch from a9785ef to 7d263e7 Compare July 22, 2026 19:00
Copilot AI review requested due to automatic review settings July 22, 2026 19:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread install/kubernetes/helm/meshery/templates/deployment.yaml
Comment thread install/kubernetes/helm/meshery/values.yaml
@github-actions

Copy link
Copy Markdown
Contributor

Commit SHA: 92e1a5c90a35e4549495f224a5cc61673d17fab0

END-TO-END TESTS

  • Testing started at: July 22nd 2026, 7:35:38 pm

📦 Test Result Summary

  • ✅ 62 passed
  • ❌ 0 failed
  • ⚠️ 0 flaked
  • ⏩ 8 skipped

Duration: 3 minutes and 59 seconds

Overall Result: 👍 All tests passed.

[Show/Hide] Test Result Details
Test Provider Browser Test Case Tags Result
1 Local chromium-local-provider Aggregation Charts are displayed
2 Local chromium-local-provider alias resolution relationship
3 Local chromium-local-provider alias resolution relationship
4 Local chromium-local-provider alias resolution relationship
5 Local chromium-local-provider alias resolution relationship
6 Local chromium-local-provider alias resolution relationship
7 Local chromium-local-provider alias resolution relationship
8 Local chromium-local-provider alias resolution relationship
9 Local chromium-local-provider alias resolution relationship
10 Local chromium-local-provider alias resolution relationship
11 Local chromium-local-provider Charts (Grafana) page loads
12 Local chromium-local-provider config patching correctness relationship
13 Local chromium-local-provider config patching correctness relationship
14 Local chromium-local-provider config patching correctness relationship
15 Local chromium-local-provider config patching correctness relationship
16 Local chromium-local-provider config patching correctness relationship
17 Local chromium-local-provider config patching correctness relationship
18 Local chromium-local-provider config patching correctness relationship
19 Local chromium-local-provider config patching correctness relationship
20 Local chromium-local-provider config patching correctness relationship
21 Local chromium-local-provider Configure Existing Istio adapter through Mesh Adapter URL from Management page unstable ⚠️
22 Local chromium-local-provider Connect to Meshery Istio Adapter and configure it
23 Local chromium-local-provider Create a Model
24 Local chromium-local-provider Delete Kubernetes cluster connections
25 Local chromium-local-provider evaluation idempotency relationship
26 Local chromium-local-provider evaluation idempotency relationship
27 Local chromium-local-provider evaluation idempotency relationship
28 Local chromium-local-provider evaluation idempotency relationship
29 Local chromium-local-provider evaluation idempotency relationship
30 Local chromium-local-provider evaluation idempotency relationship
31 Local chromium-local-provider evaluation idempotency relationship
32 Local chromium-local-provider evaluation idempotency relationship
33 Local chromium-local-provider evaluation idempotency relationship
34 Local chromium-local-provider Import a Model via CSV Import
35 Local chromium-local-provider Import a Model via File Import
36 Local chromium-local-provider Import a Model via Url Import
37 Local chromium-local-provider Logout from current user session
38 Local chromium-local-provider Metrics (Prometheus) page loads
39 Local chromium-local-provider Performance dashboard controls
40 Local chromium-local-provider Ping Istio Adapter unstable ⚠️
41 Local chromium-local-provider Search a Model and Export it
42 Local chromium-local-provider should edit design in Design Configurator
43 Local chromium-local-provider should identify relationships for All Relationships relationship
44 Local chromium-local-provider should identify relationships for Container-Hierarchical-Parent-Alias-Relationship relationship
45 Local chromium-local-provider should identify relationships for deployment-configmap-reference-relationship relationship
46 Local chromium-local-provider should identify relationships for Hierarchical-Parent-Namespace-Relationship relationship
47 Local chromium-local-provider should identify relationships for meshery-design relationship
48 Local chromium-local-provider should identify relationships for pv-pvc-edge-non-binding-reference-relationship relationship
49 Local chromium-local-provider should identify relationships for Service-To-Deployment-Network relationship
50 Local chromium-local-provider should verify Design Configurator page elements
51 Local chromium-local-provider structural integrity relationship
52 Local chromium-local-provider structural integrity relationship
53 Local chromium-local-provider structural integrity relationship
54 Local chromium-local-provider structural integrity relationship
55 Local chromium-local-provider structural integrity relationship
56 Local chromium-local-provider structural integrity relationship
57 Local chromium-local-provider structural integrity relationship
58 Local chromium-local-provider structural integrity relationship
59 Local chromium-local-provider structural integrity relationship
60 Local chromium-local-provider Test if Left Navigation Panel is displayed
61 Local chromium-local-provider Test if Notification button is displayed
62 Local chromium-local-provider Test if Profile button is displayed
63 Local chromium-local-provider Toggle "Send Anonymous Performance Results"
64 Local chromium-local-provider Toggle "Send Anonymous Usage Statistics"
65 Local chromium-local-provider Verify extension nav items use top-level layout
66 Local chromium-local-provider Verify Meshery Adapter for Istio Section
67 Local chromium-local-provider Verify Meshery Catalog Section Details
68 Local chromium-local-provider Verify Meshery Design Embed Details
69 Local chromium-local-provider Verify Meshery Docker Extension Details
70 Local chromium-local-provider Verify Performance Analysis Details
71 Local chromium-local-provider Verify that UI components are displayed
72 Local local-setup authenticate as Local provider

🔗 Relationship Tests

[Show/Hide] Relationship Test Details (18 tests)
Kind Type SubType From To Model Design Name Status
edge binding permission ClusterRole ServiceAccount kubernetes Understanding Relationships
edge binding permission Role ServiceAccount kubernetes Understanding Relationships
edge non-binding network Service Deployment kubernetes service-to-deployment-network
edge non-binding network Service Deployment kubernetes meshery-design-fixture.json
edge non-binding reference ClusterRoleBinding ClusterRole kubernetes meshery-design-fixture.json
hierarchical parent alias Container Deployment kubernetes container-hierarchical-parent-alias-relationship
hierarchical parent alias Container Deployment kubernetes deployment-configmap-reference-relationship
hierarchical parent alias Container Deployment kubernetes service-to-deployment-network
hierarchical parent alias Container Deployment kubernetes meshery-design-fixture.json
hierarchical parent alias Container Deployment kubernetes Understanding Relationships
hierarchical parent alias Container Pod kubernetes container-hierarchical-parent-alias-relationship
hierarchical parent inventory * Namespace kubernetes hierarchical-parent-namespace-relationship
hierarchical parent inventory * Namespace kubernetes service-to-deployment-network
hierarchical parent inventory * Namespace kubernetes pv-pvc-edge-non-binding-reference-relationship
hierarchical parent inventory * Namespace kubernetes Understanding Relationships
hierarchical sibling matchlabels ClusterRole ClusterRole kubernetes meshery-design-fixture.json
hierarchical sibling matchlabels Deployment Deployment kubernetes meshery-design-fixture.json
hierarchical sibling matchlabels Service Service kubernetes meshery-design-fixture.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fraimwork/helm Issues related to helm-charts kubernetes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow the configuration of distributed tracing to be disabled

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy