Skip to content

ROX-30390: Remove gauge metric for update types#16769

Merged
vikin91 merged 2 commits intomasterfrom
piotr/ROX-30390-remove-faulty-metric
Sep 12, 2025
Merged

ROX-30390: Remove gauge metric for update types#16769
vikin91 merged 2 commits intomasterfrom
piotr/ROX-30390-remove-faulty-metric

Conversation

@vikin91
Copy link
Contributor

@vikin91 vikin91 commented Sep 11, 2025

Description

It was difficult to capture the correct data for a gauge, as it was required to use Reset(). That made the metric values interrupted (for example: 60, nil, 70, nil, nil, 85). Recording it properly would require more changes and was not worth the effort.

The counter version of the same metric is still available. The same result can be achieved using the counter version with increase(the_counter_metric[30s]) in Prometheus or Grafana.

User-facing documentation

  • CHANGELOG.md is updated OR update is not needed
    • Not needed, as the metric was added recently and has not been released yet.
  • documentation PR is created and is linked above OR is not needed

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

I haven't

@rhacs-bot
Copy link
Contributor

rhacs-bot commented Sep 11, 2025

Images are ready for the commit at 858d48c.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.9.x-754-g858d48ca8f.

@codecov
Copy link

codecov bot commented Sep 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.81%. Comparing base (ff75b2c) to head (858d48c).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #16769      +/-   ##
==========================================
- Coverage   48.81%   48.81%   -0.01%     
==========================================
  Files        2681     2681              
  Lines      200391   200384       -7     
==========================================
- Hits        97822    97811      -11     
- Misses      94964    94968       +4     
  Partials     7605     7605              
Flag Coverage Δ
go-unit-tests 48.81% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Base automatically changed from piotr/ROX-30390-dont-queue-open-ee to master September 11, 2025 13:18
It was difficult to capture the correct data for a gauge.
The counter version of the same metric is still available.
@vikin91 vikin91 force-pushed the piotr/ROX-30390-remove-faulty-metric branch from 8aed55f to 858d48c Compare September 11, 2025 15:41
@vikin91
Copy link
Contributor Author

vikin91 commented Sep 11, 2025

/retest-required

@vikin91 vikin91 enabled auto-merge (squash) September 11, 2025 16:18
@vikin91 vikin91 merged commit 510074c into master Sep 12, 2025
155 of 183 checks passed
@vikin91 vikin91 deleted the piotr/ROX-30390-remove-faulty-metric branch September 12, 2025 07:10
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