Skip to content

Commit

Permalink
added obsolte to the adapter as well
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsandfoxes committed Sep 20, 2024
1 parent 4353b64 commit d06de27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Sentry/Extensibility/HubAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ public Task FlushAsync(TimeSpan timeout)
=> SentrySdk.FlushAsync(timeout);

/// <inheritdoc cref="IMetricAggregator"/>
[Obsolete("The SentrySdk.Metrics module is deprecated and will be removed in the next major release. " +
"Sentry will reject all metrics sent after October 7, 2024." +
"Learn more: https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Upcoming-API-Changes-to-Metrics")]
public IMetricAggregator Metrics
=> SentrySdk.Metrics;

Expand Down

0 comments on commit d06de27

Please sign in to comment.