Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor: reduce max number of allowed labels in counters from 8 to 6 [DAT-146] #12704

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

Merged

Conversation

vittoriopolverino
Copy link
Member

@vittoriopolverino vittoriopolverino commented Jun 3, 2025

Motivation

  • After reviewing label usage over the past few months, we found that no existing metric uses more than 5 labels.
  • Limiting counters to 6 labels help to avoid overly complex metrics that try to capture too many different aspects.
  • Fewer labels simplify analytics query and makes dashboards easier to build/read.
  • A limit of 6 is sufficiently high for current needs, but this threshold can be revisited in the future if necessary.

Changes

@vittoriopolverino vittoriopolverino self-assigned this Jun 3, 2025
@vittoriopolverino vittoriopolverino added the semver: patch Non-breaking changes which can be included in patch releases label Jun 3, 2025
@vittoriopolverino vittoriopolverino added this to the 4.5 milestone Jun 3, 2025
@vittoriopolverino vittoriopolverino requested a review from joe4dev June 3, 2025 11:33
@vittoriopolverino
Copy link
Member Author

@joe4dev not sure who to tag for review. I used to loop in Alex, but he's on leave. Hope you don’t mind! The change is quite minimal πŸ™πŸΌ

@vittoriopolverino vittoriopolverino marked this pull request as ready for review June 3, 2025 11:35
@vittoriopolverino vittoriopolverino requested a review from thrau as a code owner June 3, 2025 11:35
@vittoriopolverino vittoriopolverino requested a review from ackdav June 3, 2025 11:36
Copy link

github-actions bot commented Jun 3, 2025

Test Results - Preflight, Unit

21β€ˆ595 tests  Β±0   19β€ˆ940 βœ… Β±0   6m 36s ⏱️ +21s
β€‡β€‡β€ˆβ€‡β€‡1 suites Β±0    1β€ˆ655 πŸ’€ Β±0 
β€‡β€‡β€ˆβ€‡β€‡1 files   Β±0β€‚β€ƒβ€ƒβ€‡β€‡β€ˆβ€‡β€‡0 ❌ Β±0 

Results for commit ee262ef. ± Comparison against base commit 0b05553.

Copy link

github-actions bot commented Jun 3, 2025

Test Results (amd64) - Acceptance

7 tests  Β±0   5 βœ… Β±0   3m 13s ⏱️ +4s
1 suites Β±0   2 πŸ’€ Β±0 
1 files   Β±0   0 ❌ Β±0 

Results for commit ee262ef. ± Comparison against base commit 0b05553.

Copy link

github-actions bot commented Jun 3, 2025

Test Results - Alternative Providers

977 tests   547 βœ…β€ƒβ€ƒ22m 6s ⏱️
  4 suites  430 πŸ’€
  4 files      0 ❌

Results for commit ee262ef.

Copy link
Member

@joe4dev joe4dev left a comment

Choose a reason for hiding this comment

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

Limiting complexity makes a lot of sense πŸ‘

Copy link
Member

@ackdav ackdav left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link

github-actions bot commented Jun 3, 2025

Test Results (amd64) - Integration, Bootstrap

β€‡β€ˆβ€‡β€‡5 filesβ€„β€ƒβ€‡β€ˆβ€‡β€‡5 suites   2h 21m 18s ⏱️
5β€ˆ216 tests 4β€ˆ297 βœ…β€ƒ919 πŸ’€β€ƒ0 ❌
5β€ˆ222 runsβ€Šβ€ƒ4β€ˆ297 βœ…β€ƒ925 πŸ’€β€ƒ0 ❌

Results for commit ee262ef.

Copy link

github-actions bot commented Jun 3, 2025

LocalStack Community integration with Pro

β€‡β€ˆβ€‡β€‡2 files  Β±0β€‚β€ƒβ€‡β€ˆβ€‡β€‡2 suites  Β±0   1h 43m 13s ⏱️ +31s
4β€ˆ861 tests Β±0  4β€ˆ094 βœ… Β±0  767 πŸ’€ Β±0  0 ❌ Β±0 
4β€ˆ863 runsβ€Š Β±0  4β€ˆ094 βœ… Β±0  769 πŸ’€ Β±0  0 ❌ Β±0 

Results for commit ee262ef. ± Comparison against base commit 0b05553.

@vittoriopolverino vittoriopolverino merged commit a7a7b5f into master Jun 3, 2025
62 checks passed
@vittoriopolverino vittoriopolverino deleted the DAT-146-reduce-max-allowed-labels-in-counter branch June 3, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants