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

Remove metrics plumbing and deprecate/no-op public API #1786

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

stayallive
Copy link
Collaborator

The metrics beta has ended unfortunately so we can stop sending data because it will no longer be accepted so to reduce overhead I've removed as much plumbing as possible while keeping not breaking the public API. We can remove the skeleton next major.

The deprecation message I placed everywhere might be improved a bit.

Read more: https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Metrics-Beta-Ended-on-October-7th

@@ -132,10 +132,6 @@ public function getDisabledUntil(EventType $eventType): int
$category = self::DATA_CATEGORY_ERROR;
}

if ($eventType === EventType::metrics()) {
$category = self::DATA_CATEGORY_METRIC_BUCKET;
Copy link
Member

Choose a reason for hiding this comment

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

We can also remove the definition.

cleptric added a commit to getsentry/sentry-laravel that referenced this pull request Nov 5, 2024
Part of getsentry/sentry-php#1786, though we can get this one merged any time.
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.

2 participants