-
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
[observability] Migrate Gitpod's mixin #5843
Conversation
|
/hold There is no way to test this with previews until #5745 gets merged |
Thoughts from a discussion with @csweichel : About this PR:
General:
|
0a924a0
to
15200c2
Compare
|
/werft run 👍 started the job as gitpod-build-as-migrate-mixins.7 |
EDIT: I just replaced It is a known issue that prometheus own go module isn't perfect. (prometheus/prometheus#8852), so we'll need to think of another way to install promtool here. Maybe just download it from prometheus releases and add to our workspace image |
|
2 similar comments
|
|
6751097
to
034129c
Compare
|
should be MIT license. We use hat for the helm chart and the Terraform scripts as well. The intention is that users of Gitpod self-hosted should be able to customise this code without worrying about licenses. |
That will require some minor changes to the addlicense script and potentially the need to add the MIT license to the license header program - no big changes, just pointing them out. |
|
1 similar comment
|
978c2ea
to
71dacea
Compare
|
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
71dacea
to
a7376c6
Compare
|
2 similar comments
|
|
|
f2e748f
to
fcbbdd4
Compare
|
fcbbdd4
to
54954b2
Compare
|
54954b2
to
2b90b86
Compare
|
/werft run 👍 started the job as gitpod-build-as-migrate-mixins.84 |
/werft run 👍 started the job as gitpod-build-as-migrate-mixins.85 |
Aiming to simplify the end-to-end developer experience of creating/modifying Prometheus metrics until using them in Dashboards and Alerts in production. Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2b90b86
to
54a4bf0
Compare
|
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
|
/lgtm Code changes LGTM. Grafana works for me, too. So let's get this in and iterate on it. Thank you for the great work, @ArthurSens ! |
LGTM label has been added. Git tree hash: ea68918816e972431823f39c8e55068b93f51684
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: meysholdt Associated issue: #192 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 |
/hold cancel |
Description
This PR migrates Gitpod's mixin from https://github.com/gitpod-io/observability to this repository.
This is being done with the goal of improving DevX when it comes to our own observability. With this migration(plus the work being done in #5745), we can introduce/modify Prometheus metrics while also making the necessary changes in Grafana dashboards and Prometheus alerting rules all in the same PR.
PS: Recommended to add
/werft with-observability
to future PRs so one can see metrics changes from code instrumentation all the way to Grafana and Prometheus alertsOther changes
The migration did require some extra changes:
addlicense
script was modified to support.jsonnet
and.libsonnet
files.operations/observability/mixins
folder. I'm doing this so I can help review every PR that modifies our mixins. We can change that once each team has confidence enough to maintain the mixin without my help.Related Issue(s)
Fixes gitpod-io/observability#192
How to test/review
I'd start the review by reading the
README.md
file added in theoperations/observability/mixins
folder. It does contain written docs, references to official documentation and even a video with a quick tour to Grafana's UI.After README, I'd go through the changes made to the werft job. More specifically, the parts that handle the
jsonnetfile.json
from our observability repo. This is where monitoring satellite is updated with changes made by a specific PR and added to the preview environment.The next step would be going to Grafana of the preview environment and seeing the new folder structure. It is possible that some dashboards are in the wrong folder, by I'd like to keep it that way in this PR. An exercise to get familiar with the mixins would be someone from each team to open PR fixing the folder locations (Of course I'd be present during this activity to answer any questions)
I'm also happy to jump in a call with anyone to help clarify any doubts that may appear in the review process.
Release Notes
/werft with-observability
/werft withObservabilityBranch=arthursens/separate-dashboards-272