Skip to content

Removed Metrics (deprecated) - #3718

Merged
jamescrosswell merged 4 commits into
version-5.0.0from
v5-remove-metrics
Oct 30, 2024
Merged

jamescrosswell merged 4 commits into
version-5.0.0from
v5-remove-metrics

Conversation

@jamescrosswell

Copy link
Copy Markdown
Collaborator

Resolves #3597

Note that this PR targets the version-5.0.0 branch.

@jamescrosswell jamescrosswell added this to the 5.0.0 milestone Oct 30, 2024
@jamescrosswell
jamescrosswell marked this pull request as ready for review October 30, 2024 09:06
@jamescrosswell
jamescrosswell requested review from bricefriha and bruno-garcia and removed request for bitsandfoxes October 30, 2024 09:06
@bitsandfoxes

Copy link
Copy Markdown
Contributor

🥲

@bricefriha bricefriha left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@jamescrosswell
jamescrosswell merged commit a4f29fe into version-5.0.0 Oct 30, 2024
@jamescrosswell
jamescrosswell deleted the v5-remove-metrics branch October 30, 2024 20:18
@jamescrosswell jamescrosswell linked an issue Oct 30, 2024 that may be closed by this pull request
jamescrosswell pushed a commit that referenced this pull request Nov 2, 2026
Its only caller was MetricAggregator's string hashing for Metrics.Set, which was removed with the deprecated Metrics API in #3718.

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
jamescrosswell pushed a commit that referenced this pull request Nov 16, 2026
The deprecated statsd Metrics API was removed in #3718 (5.0.0), which
deleted MetricAggregator, the only caller of Hub.CaptureMetrics,
Hub.CaptureCodeLocations and the span/transaction MetricsSummary
aggregators. The protocol types, envelope factories, helpers and their
tests stayed behind with no production callers.

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove Metrics API

3 participants