Skip to content

Commit c816a75

Browse files
Update CI Solution Filters (#2379)
* Update CI Solution Filters * Update Sentry.Full.sln * Update API Snapshots from Azure Functions * Fix broken test
1 parent 83864a5 commit c816a75

11 files changed

+65
-4
lines changed

Sentry-CI-Build-Linux.slnf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
"samples\\Sentry.Samples.AspNetCore.Mvc\\Sentry.Samples.AspNetCore.Mvc.csproj",
1212
"samples\\Sentry.Samples.AspNetCore.Serilog\\Sentry.Samples.AspNetCore.Serilog.csproj",
1313
"samples\\Sentry.Samples.Aws.Lambda.AspNetCoreServer\\Sentry.Samples.Aws.Lambda.AspNetCoreServer.csproj",
14+
"samples\\Sentry.Samples.AzureFunctions.Worker\\Sentry.Samples.AzureFunctions.Worker.csproj",
1415
"samples\\Sentry.Samples.Console.Basic\\Sentry.Samples.Console.Basic.csproj",
1516
"samples\\Sentry.Samples.Console.Customized\\Sentry.Samples.Console.Customized.csproj",
17+
"samples\\Sentry.Samples.Console.Profiling\\Sentry.Samples.Console.Profiling.csproj",
1618
"samples\\Sentry.Samples.EntityFramework\\Sentry.Samples.EntityFramework.csproj",
1719
"samples\\Sentry.Samples.GenericHost\\Sentry.Samples.GenericHost.csproj",
1820
"samples\\Sentry.Samples.Google.Cloud.Functions\\Sentry.Samples.Google.Cloud.Functions.csproj",
@@ -25,6 +27,7 @@
2527
"src\\Sentry.AspNet\\Sentry.AspNet.csproj",
2628
"src\\Sentry.AspNetCore.Grpc\\Sentry.AspNetCore.Grpc.csproj",
2729
"src\\Sentry.AspNetCore\\Sentry.AspNetCore.csproj",
30+
"src\\Sentry.AzureFunctions.Worker\\Sentry.AzureFunctions.Worker.csproj",
2831
"src\\Sentry.Bindings.Android\\Sentry.Bindings.Android.csproj",
2932
"src\\Sentry.DiagnosticSource\\Sentry.DiagnosticSource.csproj",
3033
"src\\Sentry.EntityFramework\\Sentry.EntityFramework.csproj",
@@ -33,13 +36,15 @@
3336
"src\\Sentry.Log4Net\\Sentry.Log4Net.csproj",
3437
"src\\Sentry.Maui\\Sentry.Maui.csproj",
3538
"src\\Sentry.NLog\\Sentry.NLog.csproj",
39+
"src\\Sentry.Profiling\\Sentry.Profiling.csproj",
3640
"src\\Sentry.Serilog\\Sentry.Serilog.csproj",
3741
"src\\Sentry\\Sentry.csproj",
3842
"test\\Sentry.Android.AssemblyReader.Tests\\Sentry.Android.AssemblyReader.Tests.csproj",
3943
"test\\Sentry.AspNet.Tests\\Sentry.AspNet.Tests.csproj",
4044
"test\\Sentry.AspNetCore.Grpc.Tests\\Sentry.AspNetCore.Grpc.Tests.csproj",
4145
"test\\Sentry.AspNetCore.Tests\\Sentry.AspNetCore.Tests.csproj",
4246
"test\\Sentry.AspNetCore.TestUtils\\Sentry.AspNetCore.TestUtils.csproj",
47+
"test\\Sentry.AzureFunctions.Worker.Tests\\Sentry.AzureFunctions.Worker.Tests.csproj",
4348
"test\\Sentry.DiagnosticSource.IntegrationTests\\Sentry.DiagnosticSource.IntegrationTests.csproj",
4449
"test\\Sentry.DiagnosticSource.Tests\\Sentry.DiagnosticSource.Tests.csproj",
4550
"test\\Sentry.EntityFramework.Tests\\Sentry.EntityFramework.Tests.csproj",
@@ -48,6 +53,7 @@
4853
"test\\Sentry.Log4Net.Tests\\Sentry.Log4Net.Tests.csproj",
4954
"test\\Sentry.Maui.Tests\\Sentry.Maui.Tests.csproj",
5055
"test\\Sentry.NLog.Tests\\Sentry.NLog.Tests.csproj",
56+
"test\\Sentry.Profiling.Tests\\Sentry.Profiling.Tests.csproj",
5157
"test\\Sentry.Serilog.Tests\\Sentry.Serilog.Tests.csproj",
5258
"test\\Sentry.Testing.CrashableApp\\Sentry.Testing.CrashableApp.csproj",
5359
"test\\Sentry.Testing\\Sentry.Testing.csproj",

Sentry-CI-Build-Windows.slnf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
"samples\\Sentry.Samples.AspNetCore.Mvc\\Sentry.Samples.AspNetCore.Mvc.csproj",
1111
"samples\\Sentry.Samples.AspNetCore.Serilog\\Sentry.Samples.AspNetCore.Serilog.csproj",
1212
"samples\\Sentry.Samples.Aws.Lambda.AspNetCoreServer\\Sentry.Samples.Aws.Lambda.AspNetCoreServer.csproj",
13+
"samples\\Sentry.Samples.AzureFunctions.Worker\\Sentry.Samples.AzureFunctions.Worker.csproj",
1314
"samples\\Sentry.Samples.Console.Basic\\Sentry.Samples.Console.Basic.csproj",
1415
"samples\\Sentry.Samples.Console.Customized\\Sentry.Samples.Console.Customized.csproj",
16+
"samples\\Sentry.Samples.Console.Profiling\\Sentry.Samples.Console.Profiling.csproj",
1517
"samples\\Sentry.Samples.EntityFramework\\Sentry.Samples.EntityFramework.csproj",
1618
"samples\\Sentry.Samples.GenericHost\\Sentry.Samples.GenericHost.csproj",
1719
"samples\\Sentry.Samples.Google.Cloud.Functions\\Sentry.Samples.Google.Cloud.Functions.csproj",
@@ -24,6 +26,7 @@
2426
"src\\Sentry.AspNet\\Sentry.AspNet.csproj",
2527
"src\\Sentry.AspNetCore.Grpc\\Sentry.AspNetCore.Grpc.csproj",
2628
"src\\Sentry.AspNetCore\\Sentry.AspNetCore.csproj",
29+
"src\\Sentry.AzureFunctions.Worker\\Sentry.AzureFunctions.Worker.csproj",
2730
"src\\Sentry.Bindings.Android\\Sentry.Bindings.Android.csproj",
2831
"src\\Sentry.DiagnosticSource\\Sentry.DiagnosticSource.csproj",
2932
"src\\Sentry.EntityFramework\\Sentry.EntityFramework.csproj",
@@ -32,13 +35,15 @@
3235
"src\\Sentry.Log4Net\\Sentry.Log4Net.csproj",
3336
"src\\Sentry.Maui\\Sentry.Maui.csproj",
3437
"src\\Sentry.NLog\\Sentry.NLog.csproj",
38+
"src\\Sentry.Profiling\\Sentry.Profiling.csproj",
3539
"src\\Sentry.Serilog\\Sentry.Serilog.csproj",
3640
"src\\Sentry\\Sentry.csproj",
3741
"test\\Sentry.Android.AssemblyReader.Tests\\Sentry.Android.AssemblyReader.Tests.csproj",
3842
"test\\Sentry.AspNet.Tests\\Sentry.AspNet.Tests.csproj",
3943
"test\\Sentry.AspNetCore.Grpc.Tests\\Sentry.AspNetCore.Grpc.Tests.csproj",
4044
"test\\Sentry.AspNetCore.Tests\\Sentry.AspNetCore.Tests.csproj",
4145
"test\\Sentry.AspNetCore.TestUtils\\Sentry.AspNetCore.TestUtils.csproj",
46+
"test\\Sentry.AzureFunctions.Worker.Tests\\Sentry.AzureFunctions.Worker.Tests.csproj",
4247
"test\\Sentry.DiagnosticSource.IntegrationTests\\Sentry.DiagnosticSource.IntegrationTests.csproj",
4348
"test\\Sentry.DiagnosticSource.Tests\\Sentry.DiagnosticSource.Tests.csproj",
4449
"test\\Sentry.EntityFramework.Tests\\Sentry.EntityFramework.Tests.csproj",
@@ -47,6 +52,7 @@
4752
"test\\Sentry.Log4Net.Tests\\Sentry.Log4Net.Tests.csproj",
4853
"test\\Sentry.Maui.Tests\\Sentry.Maui.Tests.csproj",
4954
"test\\Sentry.NLog.Tests\\Sentry.NLog.Tests.csproj",
55+
"test\\Sentry.Profiling.Tests\\Sentry.Profiling.Tests.csproj",
5056
"test\\Sentry.Serilog.Tests\\Sentry.Serilog.Tests.csproj",
5157
"test\\Sentry.Testing.CrashableApp\\Sentry.Testing.CrashableApp.csproj",
5258
"test\\Sentry.Testing\\Sentry.Testing.csproj",

Sentry-CI-Build-macOS.slnf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
"samples\\Sentry.Samples.AspNetCore.Mvc\\Sentry.Samples.AspNetCore.Mvc.csproj",
1111
"samples\\Sentry.Samples.AspNetCore.Serilog\\Sentry.Samples.AspNetCore.Serilog.csproj",
1212
"samples\\Sentry.Samples.Aws.Lambda.AspNetCoreServer\\Sentry.Samples.Aws.Lambda.AspNetCoreServer.csproj",
13+
"samples\\Sentry.Samples.AzureFunctions.Worker\\Sentry.Samples.AzureFunctions.Worker.csproj",
1314
"samples\\Sentry.Samples.Console.Basic\\Sentry.Samples.Console.Basic.csproj",
1415
"samples\\Sentry.Samples.Console.Customized\\Sentry.Samples.Console.Customized.csproj",
16+
"samples\\Sentry.Samples.Console.Profiling\\Sentry.Samples.Console.Profiling.csproj",
1517
"samples\\Sentry.Samples.EntityFramework\\Sentry.Samples.EntityFramework.csproj",
1618
"samples\\Sentry.Samples.GenericHost\\Sentry.Samples.GenericHost.csproj",
1719
"samples\\Sentry.Samples.Google.Cloud.Functions\\Sentry.Samples.Google.Cloud.Functions.csproj",
@@ -26,6 +28,7 @@
2628
"src\\Sentry.AspNet\\Sentry.AspNet.csproj",
2729
"src\\Sentry.AspNetCore.Grpc\\Sentry.AspNetCore.Grpc.csproj",
2830
"src\\Sentry.AspNetCore\\Sentry.AspNetCore.csproj",
31+
"src\\Sentry.AzureFunctions.Worker\\Sentry.AzureFunctions.Worker.csproj",
2932
"src\\Sentry.Bindings.Android\\Sentry.Bindings.Android.csproj",
3033
"src\\Sentry.Bindings.Cocoa\\Sentry.Bindings.Cocoa.csproj",
3134
"src\\Sentry.DiagnosticSource\\Sentry.DiagnosticSource.csproj",
@@ -35,13 +38,15 @@
3538
"src\\Sentry.Log4Net\\Sentry.Log4Net.csproj",
3639
"src\\Sentry.Maui\\Sentry.Maui.csproj",
3740
"src\\Sentry.NLog\\Sentry.NLog.csproj",
41+
"src\\Sentry.Profiling\\Sentry.Profiling.csproj",
3842
"src\\Sentry.Serilog\\Sentry.Serilog.csproj",
3943
"src\\Sentry\\Sentry.csproj",
4044
"test\\Sentry.Android.AssemblyReader.Tests\\Sentry.Android.AssemblyReader.Tests.csproj",
4145
"test\\Sentry.AspNet.Tests\\Sentry.AspNet.Tests.csproj",
4246
"test\\Sentry.AspNetCore.Grpc.Tests\\Sentry.AspNetCore.Grpc.Tests.csproj",
4347
"test\\Sentry.AspNetCore.Tests\\Sentry.AspNetCore.Tests.csproj",
4448
"test\\Sentry.AspNetCore.TestUtils\\Sentry.AspNetCore.TestUtils.csproj",
49+
"test\\Sentry.AzureFunctions.Worker.Tests\\Sentry.AzureFunctions.Worker.Tests.csproj",
4550
"test\\Sentry.DiagnosticSource.IntegrationTests\\Sentry.DiagnosticSource.IntegrationTests.csproj",
4651
"test\\Sentry.DiagnosticSource.Tests\\Sentry.DiagnosticSource.Tests.csproj",
4752
"test\\Sentry.EntityFramework.Tests\\Sentry.EntityFramework.Tests.csproj",
@@ -50,6 +55,7 @@
5055
"test\\Sentry.Log4Net.Tests\\Sentry.Log4Net.Tests.csproj",
5156
"test\\Sentry.Maui.Tests\\Sentry.Maui.Tests.csproj",
5257
"test\\Sentry.NLog.Tests\\Sentry.NLog.Tests.csproj",
58+
"test\\Sentry.Profiling.Tests\\Sentry.Profiling.Tests.csproj",
5359
"test\\Sentry.Serilog.Tests\\Sentry.Serilog.Tests.csproj",
5460
"test\\Sentry.Testing.CrashableApp\\Sentry.Testing.CrashableApp.csproj",
5561
"test\\Sentry.Testing\\Sentry.Testing.csproj",

Sentry-CI-CodeQL.slnf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
"src\\Sentry.AspNetCore.Grpc\\Sentry.AspNetCore.Grpc.csproj",
77
"src\\Sentry.AspNetCore\\Sentry.AspNetCore.csproj",
88
"src\\Sentry.AspNet\\Sentry.AspNet.csproj",
9+
"src\\Sentry.AzureFunctions.Worker\\Sentry.AzureFunctions.Worker.csproj",
910
"src\\Sentry.DiagnosticSource\\Sentry.DiagnosticSource.csproj",
1011
"src\\Sentry.EntityFramework\\Sentry.EntityFramework.csproj",
1112
"src\\Sentry.Extensions.Logging\\Sentry.Extensions.Logging.csproj",
1213
"src\\Sentry.Google.Cloud.Functions\\Sentry.Google.Cloud.Functions.csproj",
1314
"src\\Sentry.Log4Net\\Sentry.Log4Net.csproj",
1415
"src\\Sentry.Maui\\Sentry.Maui.csproj",
1516
"src\\Sentry.NLog\\Sentry.NLog.csproj",
17+
"src\\Sentry.Profiling\\Sentry.Profiling.csproj",
1618
"src\\Sentry.Serilog\\Sentry.Serilog.csproj",
1719
"src\\Sentry\\Sentry.csproj"
1820
]

Sentry-CI-Pack.slnf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"src\\Sentry.AspNetCore.Grpc\\Sentry.AspNetCore.Grpc.csproj",
77
"src\\Sentry.AspNetCore\\Sentry.AspNetCore.csproj",
88
"src\\Sentry.AspNet\\Sentry.AspNet.csproj",
9+
"src\\Sentry.AzureFunctions.Worker\\Sentry.AzureFunctions.Worker.csproj",
910
"src\\Sentry.Bindings.Android\\Sentry.Bindings.Android.csproj",
1011
"src\\Sentry.Bindings.Cocoa\\Sentry.Bindings.Cocoa.csproj",
1112
"src\\Sentry.DiagnosticSource\\Sentry.DiagnosticSource.csproj",

Sentry-CI-Test.slnf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"path": "Sentry.Full.sln",
44
"projects": [
55
"test\\Sentry.Android.AssemblyReader.Tests\\Sentry.Android.AssemblyReader.Tests.csproj",
6+
"test\\Sentry.AzureFunctions.Worker.Tests\\Sentry.AzureFunctions.Worker.Tests.csproj",
67
"test\\Sentry.AspNet.Tests\\Sentry.AspNet.Tests.csproj",
78
"test\\Sentry.AspNetCore.Grpc.Tests\\Sentry.AspNetCore.Grpc.Tests.csproj",
89
"test\\Sentry.AspNetCore.Tests\\Sentry.AspNetCore.Tests.csproj",

Sentry.Full.sln

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sentry.Profiling.Tests", "t
178178
EndProject
179179
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sentry.Samples.Console.Profiling", "samples\Sentry.Samples.Console.Profiling\Sentry.Samples.Console.Profiling.csproj", "{0F84C0BB-FDD4-43A9-B594-923EB10C8E3F}"
180180
EndProject
181+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.AzureFunctions.Worker", "src\Sentry.AzureFunctions.Worker\Sentry.AzureFunctions.Worker.csproj", "{DDDF66BE-EC0E-4488-8A35-3D8BEB63F2DB}"
182+
EndProject
183+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.Samples.AzureFunctions.Worker", "samples\Sentry.Samples.AzureFunctions.Worker\Sentry.Samples.AzureFunctions.Worker.csproj", "{C38B2A7A-0B21-41BA-8AE4-5D0A2AB6B029}"
184+
EndProject
185+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sentry.AzureFunctions.Worker.Tests", "test\Sentry.AzureFunctions.Worker.Tests\Sentry.AzureFunctions.Worker.Tests.csproj", "{CCABBDB9-CDEF-4DE6-9264-69797E8831DF}"
186+
EndProject
181187
Global
182188
GlobalSection(SolutionConfigurationPlatforms) = preSolution
183189
Debug|Any CPU = Debug|Any CPU
@@ -433,6 +439,18 @@ Global
433439
{0F84C0BB-FDD4-43A9-B594-923EB10C8E3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
434440
{0F84C0BB-FDD4-43A9-B594-923EB10C8E3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
435441
{0F84C0BB-FDD4-43A9-B594-923EB10C8E3F}.Release|Any CPU.Build.0 = Release|Any CPU
442+
{DDDF66BE-EC0E-4488-8A35-3D8BEB63F2DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
443+
{DDDF66BE-EC0E-4488-8A35-3D8BEB63F2DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
444+
{DDDF66BE-EC0E-4488-8A35-3D8BEB63F2DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
445+
{DDDF66BE-EC0E-4488-8A35-3D8BEB63F2DB}.Release|Any CPU.Build.0 = Release|Any CPU
446+
{C38B2A7A-0B21-41BA-8AE4-5D0A2AB6B029}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
447+
{C38B2A7A-0B21-41BA-8AE4-5D0A2AB6B029}.Debug|Any CPU.Build.0 = Debug|Any CPU
448+
{C38B2A7A-0B21-41BA-8AE4-5D0A2AB6B029}.Release|Any CPU.ActiveCfg = Release|Any CPU
449+
{C38B2A7A-0B21-41BA-8AE4-5D0A2AB6B029}.Release|Any CPU.Build.0 = Release|Any CPU
450+
{CCABBDB9-CDEF-4DE6-9264-69797E8831DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
451+
{CCABBDB9-CDEF-4DE6-9264-69797E8831DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
452+
{CCABBDB9-CDEF-4DE6-9264-69797E8831DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
453+
{CCABBDB9-CDEF-4DE6-9264-69797E8831DF}.Release|Any CPU.Build.0 = Release|Any CPU
436454
EndGlobalSection
437455
GlobalSection(SolutionProperties) = preSolution
438456
HideSolutionNode = FALSE
@@ -502,6 +520,9 @@ Global
502520
{BD6CEF44-E05E-4C22-8D2F-0558A93DD2D6} = {AF6AF4C7-8AA2-4D59-8064-2D79560904EB}
503521
{2E750A7C-561D-4959-B967-042755139D84} = {83263231-1A2A-4733-B759-EEFF14E8C5D5}
504522
{0F84C0BB-FDD4-43A9-B594-923EB10C8E3F} = {77454495-55EE-4B40-A089-71B9E8F82E89}
523+
{DDDF66BE-EC0E-4488-8A35-3D8BEB63F2DB} = {AF6AF4C7-8AA2-4D59-8064-2D79560904EB}
524+
{C38B2A7A-0B21-41BA-8AE4-5D0A2AB6B029} = {77454495-55EE-4B40-A089-71B9E8F82E89}
525+
{CCABBDB9-CDEF-4DE6-9264-69797E8831DF} = {83263231-1A2A-4733-B759-EEFF14E8C5D5}
505526
EndGlobalSection
506527
GlobalSection(ExtensibilityGlobals) = postSolution
507528
SolutionGuid = {0C652B1A-DF72-4EE5-A98B-194FE2C054F6}
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
namespace Sentry.AzureFunctions.Worker
22
{
3+
public class SentryAzureFunctionsOptions : Sentry.Extensions.Logging.SentryLoggingOptions
4+
{
5+
public SentryAzureFunctionsOptions() { }
6+
}
37
public static class SentryFunctionsWorkerApplicationBuilderExtensions
48
{
5-
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, System.Action<Sentry.Extensions.Logging.SentryLoggingOptions>? optionsConfiguration) { }
9+
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context) { }
10+
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context, System.Action<Sentry.AzureFunctions.Worker.SentryAzureFunctionsOptions>? optionsConfiguration) { }
11+
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context, string dsn) { }
612
}
713
}
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
namespace Sentry.AzureFunctions.Worker
22
{
3+
public class SentryAzureFunctionsOptions : Sentry.Extensions.Logging.SentryLoggingOptions
4+
{
5+
public SentryAzureFunctionsOptions() { }
6+
}
37
public static class SentryFunctionsWorkerApplicationBuilderExtensions
48
{
5-
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, System.Action<Sentry.Extensions.Logging.SentryLoggingOptions>? optionsConfiguration) { }
9+
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context) { }
10+
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context, System.Action<Sentry.AzureFunctions.Worker.SentryAzureFunctionsOptions>? optionsConfiguration) { }
11+
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context, string dsn) { }
612
}
713
}
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
namespace Sentry.AzureFunctions.Worker
22
{
3+
public class SentryAzureFunctionsOptions : Sentry.Extensions.Logging.SentryLoggingOptions
4+
{
5+
public SentryAzureFunctionsOptions() { }
6+
}
37
public static class SentryFunctionsWorkerApplicationBuilderExtensions
48
{
5-
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, System.Action<Sentry.Extensions.Logging.SentryLoggingOptions>? optionsConfiguration) { }
9+
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context) { }
10+
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context, System.Action<Sentry.AzureFunctions.Worker.SentryAzureFunctionsOptions>? optionsConfiguration) { }
11+
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseSentry(this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder, Microsoft.Extensions.Hosting.HostBuilderContext context, string dsn) { }
612
}
713
}

0 commit comments

Comments
 (0)