Skip to content
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

Fix timeseries_total recording rule #14247

Merged
merged 2 commits into from
Oct 27, 2022

Conversation

ArthurSens
Copy link
Contributor

@ArthurSens ArthurSens commented Oct 27, 2022

Signed-off-by: ArthurSens arthursens2005@gmail.com

Description

After #14235, we got alerted about failures in rule evaluation. After some investigation, I've came up with a fix

Related Issue(s)

  • Connect to the cluster from the preview environment of this PR
  • Open Prometheus UI via kubectl port-forward -n monitoring-satellite prometheus-k8s-0 9090
  • Query the metric metric:timeseries_total, you should see results

How to test

Release Notes

NONE

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-as-fix-timeseries-total-recordingrule.1 because the annotations in the pull request description changed
(with .werft/ from main)

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
@ArthurSens
Copy link
Contributor Author

ArthurSens commented Oct 27, 2022

/werft run

👍 started the job as gitpod-build-as-fix-timeseries-total-recordingrule.3
(with .werft/ from main)

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-as-fix-timeseries-total-recordingrule.4 because the annotations in the pull request description changed
(with .werft/ from main)

Comment on lines +47 to +48
- gitURL: https://github.com/gitpod-io/gitpod
path: operations/observability/mixins/self-hosted/rules/cardinality-analysis
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, actually this can't be tested in the preview environment because the file is not on main yet 😅

Unfortunately, there is no way of testing this one besides merging and checking results

@roboquat roboquat merged commit e03472a into main Oct 27, 2022
@roboquat roboquat deleted the as/fix-timeseries_total-recordingrule branch October 27, 2022 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants