Skip to content

fix: Marked SentrySdk.Metrics as obsolete #8196

fix: Marked SentrySdk.Metrics as obsolete

fix: Marked SentrySdk.Metrics as obsolete #8196

Triggered via pull request September 20, 2024 15:34
Status Failure
Total duration 5m 57s
Artifacts

codeql-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
Analyze: 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'
Analyze: 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'
Analyze: 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'
Analyze: 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'
Analyze: 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'
Analyze: src/Sentry/Internal/SystemDiagnosticsMetricsListener.cs#L15
'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'
Analyze: 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'
Analyze: 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'
Analyze: src/Sentry/Internal/SystemDiagnosticsMetricsListener.cs#L15
'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'
Analyze: 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'
Analyze
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. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Analyze: src/Sentry.Bindings.Android/obj/Debug/net7.0-android/api.xml#L7891
Unknown return type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.GetFrameMetricsCollector ()'.
Analyze: src/Sentry.Bindings.Android/obj/Debug/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)'.
Analyze: src/Sentry.Bindings.Android/obj/Debug/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)'.
Analyze: src/Sentry.Bindings.Android/obj/Debug/net7.0-android/api.xml#L7891
Unknown return type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.GetFrameMetricsCollector ()'.
Analyze: src/Sentry.Bindings.Android/obj/Debug/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)'.
Analyze: src/Sentry.Bindings.Android/obj/Debug/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)'.