Skip to content

refactor(phonehome): MetricsConfigurationMetricDescriptors#16724

Merged
parametalol merged 1 commit intomasterfrom
michael/ROX-28151-follow-up
Sep 9, 2025
Merged

refactor(phonehome): MetricsConfigurationMetricDescriptors#16724
parametalol merged 1 commit intomasterfrom
michael/ROX-28151-follow-up

Conversation

@parametalol
Copy link
Copy Markdown
Contributor

@parametalol parametalol commented Sep 9, 2025

Description

Type renaming to reduce confusion of various Configuration types, such as in:

type Configuration struct {
	metrics  MetricsConfiguration

Spot in #15796 (comment)

User-facing documentation

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

CI.

@parametalol parametalol requested a review from a team September 9, 2025 09:14
@parametalol parametalol changed the title refactor(phonehome): rename MetricsConfiguration to MetricDescriptors refactor(phonehome): MetricsConfigurationMetricDescriptors Sep 9, 2025
@rhacs-bot
Copy link
Copy Markdown
Contributor

Images are ready for the commit at 0a0587e.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.9.x-704-g0a0587efec.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 9, 2025

Codecov Report

❌ Patch coverage is 81.25000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.66%. Comparing base (cccc762) to head (0a0587e).
⚠️ Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
central/metrics/custom/tracker/tracker_base.go 25.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #16724      +/-   ##
==========================================
- Coverage   48.67%   48.66%   -0.02%     
==========================================
  Files        2674     2675       +1     
  Lines      199708   199760      +52     
==========================================
+ Hits        97213    97216       +3     
- Misses      94886    94935      +49     
  Partials     7609     7609              
Flag Coverage Δ
go-unit-tests 48.66% <81.25%> (-0.02%) ⬇️

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.

Copy link
Copy Markdown
Contributor

@janisz janisz left a comment

Choose a reason for hiding this comment

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

LGTM, but please explain why we need this and maybe link a comment that requested it

@parametalol parametalol merged commit e767876 into master Sep 9, 2025
89 of 90 checks passed
@parametalol parametalol deleted the michael/ROX-28151-follow-up branch September 9, 2025 12:59
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