-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Made tracing optional for preview environments #7020
Conversation
f75b167
to
f597616
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is a breaking change to the Helm chart. Please see comment
chart/templates/_helpers.tpl
Outdated
@@ -258,7 +258,7 @@ env: | |||
{{- $gp := .gp -}} | |||
{{- $comp := .comp -}} | |||
{{- $tracing := $comp.tracing | default $gp.tracing -}} | |||
{{- if $tracing }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this might be a breaking change. I believe that all users of the Helm chart that previous has tracing enabled by setting tracing.endpoint
would now have to update their values files to also have tracing.enabled
If so I would rather not go down this route and instead go with the suggested solution in https://github.com/gitpod-io/ops/issues/334 and just use additional values files for preview environments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I change it, but it is common to use .enabled
to switch optional deployments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Wulf, our changelog automation relies on us setting the release notes to the PR description. Could you add it, please? just add this to your PRs (Edit this comment and copy the content below):
|
Also, I think you meant
|
bdca791
to
0781385
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code change looks good to me. I added the hold
label so that Prow won't merge. Please verify that with your latest code change the error logs from e.g. ws-manger-bridge are not longer there as per the "How to reproduce" section of the issue
LGTM label has been added. Git tree hash: 0074564f274ce068c54c31c1735ef92c45dd507c
|
0781385
to
7296822
Compare
7296822
to
926a902
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for me as well, now let's hunt for an OWNER's approval 😅
LGTM label has been added. Git tree hash: 0074564f274ce068c54c31c1735ef92c45dd507c
|
/assign @princerachit Per quest by roboquat |
Hi I could not fully understand this part of the description: |
If you add "with-observabiliy" you get tracing, if you do not then there will be no tracing at all. |
Ok, so in abstraction I get it. But monitoring satellite will continue deploying the tracing components, right? Just want to be sure I understand the technicality of the changes |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ArthurSens, mads-hartmann, princerachit Associated issue: #334 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@princerachit You only get monitoring-satellite if you use |
Description
This makes tracing optional for preview-environments and binds its deployment to the observability stack.
Related Issue(s)
Fixes https://github.com/gitpod-io/ops/issues/334
How to test
Start a prev-environment without and
with-observability
.Release Notes