Skip to content

refactor(helm): move OpenTelemetry otelRatioSampler to helpers and update nginx.conf#37

Merged
almog8k merged 2 commits into
masterfrom
refactor/otel-trace-scope
Apr 15, 2026
Merged

refactor(helm): move OpenTelemetry otelRatioSampler to helpers and update nginx.conf#37
almog8k merged 2 commits into
masterfrom
refactor/otel-trace-scope

Conversation

@almog8k

@almog8k almog8k commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 12, 2026 14:26

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

Refactors the Helm chart’s OpenTelemetry sampling configuration by moving the split_clients ratio-sampler block into a reusable helper and shifting OpenTelemetry trace configuration to the top-level http {} scope in nginx.conf.

Changes:

  • Added a new Helm helper (nginx.otelRatioSampler) to generate the split_clients ratio sampler block.
  • Updated helm/config/nginx.conf to include the ratio sampler and OpenTelemetry trace configuration within http {}.
  • Removed the inlined ratio sampler and per-server OpenTelemetry trace include from helm/config/default.conf.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
helm/templates/_helpers.tpl Introduces a helper to render the OpenTelemetry ratio sampler split_clients block.
helm/config/nginx.conf Includes the new ratio sampler helper and moves trace configuration into http {}.
helm/config/default.conf Removes the previously inlined sampler block and server-level trace include.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread helm/config/nginx.conf Outdated
ronenkapelian
ronenkapelian previously approved these changes Apr 12, 2026

@shimoncohen shimoncohen 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.

Please note the suggestion made by copilot.

@almog8k almog8k dismissed stale reviews from CL-SHLOMIKONCHA and ronenkapelian via d9acb1e April 15, 2026 06:41

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 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread helm/config/nginx.conf
@almog8k

almog8k commented Apr 15, 2026

Copy link
Copy Markdown
Contributor Author

@copilot apply changes based on the comments in this thread

@almog8k almog8k merged commit 0a8f7fa into master Apr 15, 2026
5 of 6 checks passed
@almog8k almog8k deleted the refactor/otel-trace-scope branch April 15, 2026 07:57
Copilot stopped work on behalf of almog8k due to an error April 15, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants