Skip to content

remove usage analytics module #12573

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
merged 2 commits into from
May 5, 2025
Merged

Conversation

vittoriopolverino
Copy link
Member

Motivation

The usage.py module has been deprecated and is no longer in use. All services and features that previously relied on it have been fully migrated to the new metrics.py module.

Given that the transition is now complete, we can safely remove the usage.py module along with its associated unit tests.

Changes

@vittoriopolverino vittoriopolverino added the semver: patch Non-breaking changes which can be included in patch releases label May 1, 2025
@vittoriopolverino vittoriopolverino added this to the 4.4 milestone May 1, 2025
@vittoriopolverino vittoriopolverino self-assigned this May 1, 2025
@vittoriopolverino vittoriopolverino added the review: merge when ready Signals to the reviewer that a PR can be merged if accepted label May 1, 2025
@vittoriopolverino vittoriopolverino force-pushed the remove-usage-analytics-module branch from 53426fb to b894de6 Compare May 1, 2025 19:35
Copy link

github-actions bot commented May 1, 2025

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 43m 6s ⏱️ + 1m 35s
4 399 tests ±0  4 037 ✅ ±0  362 💤 ±0  0 ❌ ±0 
4 401 runs  ±0  4 037 ✅ ±0  364 💤 ±0  0 ❌ ±0 

Results for commit b894de6. ± Comparison against base commit 7a29f27.

@@ -153,4 +153,4 @@ def get_host_kernel_version() -> str:


def get_usage():
return usage.aggregate()
return MetricRegistry().collect()
Copy link
Member Author

Choose a reason for hiding this comment

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

note: tested by calling the following endpoints

@vittoriopolverino vittoriopolverino marked this pull request as ready for review May 2, 2025 06:25
@vittoriopolverino vittoriopolverino requested a review from thrau as a code owner May 2, 2025 06:25
Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

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

Nice cleanup! Thanks for driving the migration and taking care of removing the old code afterwards! 💯

@vittoriopolverino vittoriopolverino merged commit 5c66c51 into master May 5, 2025
32 checks passed
@vittoriopolverino vittoriopolverino deleted the remove-usage-analytics-module branch May 5, 2025 07:43
simonrw pushed a commit that referenced this pull request May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review: merge when ready Signals to the reviewer that a PR can be merged if accepted 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.

2 participants