Skip to content

fix: Marked SentrySdk.Metrics as obsolete #4271

fix: Marked SentrySdk.Metrics as obsolete

fix: Marked SentrySdk.Metrics as obsolete #4271

Triggered via pull request September 20, 2024 15:36
Status Failure
Total duration 2m 29s
Artifacts

device-tests-android.yml

on: pull_request
Matrix: android
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 7 warnings
build: src/Sentry/Extensibility/HubAdapter.cs#L292
'SentrySdk.Metrics' is 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'
build: src/Sentry/Extensibility/HubAdapter.cs#L292
'SentrySdk.Metrics' is 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'
build: src/Sentry/Extensibility/HubAdapter.cs#L292
'SentrySdk.Metrics' is 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'
build: src/Sentry/Extensibility/HubAdapter.cs#L292
'SentrySdk.Metrics' is 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'
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v3, actions/setup-dotnet@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7891
Unknown return type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.GetFrameMetricsCollector ()'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7981
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.SetFrameMetricsCollector (io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L8127
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SpanFrameMetricsCollector.SpanFrameMetricsCollector (Sentry.JavaSdk.Android.Core.SentryAndroidOptions, io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7891
Unknown return type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.GetFrameMetricsCollector ()'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7981
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.SetFrameMetricsCollector (io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L8127
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SpanFrameMetricsCollector.SpanFrameMetricsCollector (Sentry.JavaSdk.Android.Core.SentryAndroidOptions, io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.