Skip to content

Commit f7ec5ee

Browse files
chore: Remove dangling experimental metrics classes (#4410)
Resolves #4404 - #4404 #skip-changelog
1 parent 314d954 commit f7ec5ee

6 files changed

+0
-483
lines changed

src/Sentry/BuiltInSystemDiagnosticsMeters.cs

Lines changed: 0 additions & 249 deletions
This file was deleted.

src/Sentry/ExperimentalMetricsOptions.cs

Lines changed: 0 additions & 61 deletions
This file was deleted.

test/Sentry.Tests/ApiApprovalTests.Run.DotNet8_0.verified.txt

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,6 @@ namespace Sentry
4040
[System.Runtime.Serialization.EnumMember(Value="critical")]
4141
Critical = 3,
4242
}
43-
public static class BuiltInSystemDiagnosticsMeters
44-
{
45-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreDiagnostics;
46-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHeaderParsing;
47-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHosting;
48-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHttpConnections;
49-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreRateLimiting;
50-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreRouting;
51-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreServerKestrel;
52-
public static readonly Sentry.StringOrRegex MicrosoftExtensionsDiagnosticsHealthChecks;
53-
public static readonly Sentry.StringOrRegex MicrosoftExtensionsDiagnosticsResourceMonitoring;
54-
public static readonly Sentry.StringOrRegex OpenTelemetryInstrumentationRuntime;
55-
public static readonly Sentry.StringOrRegex SystemNetHttp;
56-
public static readonly Sentry.StringOrRegex SystemNetNameResolution;
57-
public static System.Collections.Generic.IList<Sentry.StringOrRegex> All { get; }
58-
}
5943
public class ByteAttachmentContent : Sentry.IAttachmentContent
6044
{
6145
public ByteAttachmentContent(byte[] bytes) { }
@@ -112,13 +96,6 @@ namespace Sentry
11296
public static void SetFingerprint(this Sentry.IEventLike eventLike, System.Collections.Generic.IEnumerable<string> fingerprint) { }
11397
public static void SetFingerprint(this Sentry.IEventLike eventLike, params string[] fingerprint) { }
11498
}
115-
public class ExperimentalMetricsOptions
116-
{
117-
public ExperimentalMetricsOptions() { }
118-
public System.Collections.Generic.IList<Sentry.StringOrRegex> CaptureSystemDiagnosticsInstruments { get; set; }
119-
public System.Collections.Generic.IList<Sentry.StringOrRegex> CaptureSystemDiagnosticsMeters { get; set; }
120-
public bool EnableCodeLocations { get; set; }
121-
}
12299
public class FileAttachmentContent : Sentry.IAttachmentContent
123100
{
124101
public FileAttachmentContent(string filePath) { }

test/Sentry.Tests/ApiApprovalTests.Run.DotNet9_0.verified.txt

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,6 @@ namespace Sentry
4040
[System.Runtime.Serialization.EnumMember(Value="critical")]
4141
Critical = 3,
4242
}
43-
public static class BuiltInSystemDiagnosticsMeters
44-
{
45-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreDiagnostics;
46-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHeaderParsing;
47-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHosting;
48-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreHttpConnections;
49-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreRateLimiting;
50-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreRouting;
51-
public static readonly Sentry.StringOrRegex MicrosoftAspNetCoreServerKestrel;
52-
public static readonly Sentry.StringOrRegex MicrosoftExtensionsDiagnosticsHealthChecks;
53-
public static readonly Sentry.StringOrRegex MicrosoftExtensionsDiagnosticsResourceMonitoring;
54-
public static readonly Sentry.StringOrRegex OpenTelemetryInstrumentationRuntime;
55-
public static readonly Sentry.StringOrRegex SystemNetHttp;
56-
public static readonly Sentry.StringOrRegex SystemNetNameResolution;
57-
public static System.Collections.Generic.IList<Sentry.StringOrRegex> All { get; }
58-
}
5943
public class ByteAttachmentContent : Sentry.IAttachmentContent
6044
{
6145
public ByteAttachmentContent(byte[] bytes) { }
@@ -112,13 +96,6 @@ namespace Sentry
11296
public static void SetFingerprint(this Sentry.IEventLike eventLike, System.Collections.Generic.IEnumerable<string> fingerprint) { }
11397
public static void SetFingerprint(this Sentry.IEventLike eventLike, params string[] fingerprint) { }
11498
}
115-
public class ExperimentalMetricsOptions
116-
{
117-
public ExperimentalMetricsOptions() { }
118-
public System.Collections.Generic.IList<Sentry.StringOrRegex> CaptureSystemDiagnosticsInstruments { get; set; }
119-
public System.Collections.Generic.IList<Sentry.StringOrRegex> CaptureSystemDiagnosticsMeters { get; set; }
120-
public bool EnableCodeLocations { get; set; }
121-
}
12299
public class FileAttachmentContent : Sentry.IAttachmentContent
123100
{
124101
public FileAttachmentContent(string filePath) { }

0 commit comments

Comments
 (0)