add sentry
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2020-04-08 00:55:43 +02:00
parent cb99c40345
commit 45eb6f2daa
10 changed files with 156 additions and 19 deletions

Binary file not shown.

Binary file not shown.

View File

@ -11,6 +11,7 @@
<PackageReference Include="InfluxDB.Client" Version="1.6.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" />
<PackageReference Include="RabbitMQ.Client" Version="5.1.2" />
<PackageReference Include="Sentry" Version="2.1.1" />
</ItemGroup>

View File

@ -6,21 +6,22 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace OutputServiceTSDB
{
public class Program
using (SentrySdk.Init("https://744f5d479bdb4478b386173b92d081ac@sentry.kmlabz.com/12")){
namespace OutputServiceTSDB
{
public static void Main(string[] args)
public class Program
{
CreateHostBuilder(args).Build().Run();
}
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}
}
}
}

View File

@ -40,7 +40,7 @@
"dependencies": {
"InfluxDB.Client": {
"target": "Package",
"version": "[*, )"
"version": "[1.6.0, )"
},
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets": {
"target": "Package",
@ -49,6 +49,10 @@
"RabbitMQ.Client": {
"target": "Package",
"version": "[5.1.2, )"
},
"Sentry": {
"target": "Package",
"version": "[*, )"
}
},
"imports": [

View File

@ -401,6 +401,39 @@
}
}
},
"Sentry/2.1.1": {
"type": "package",
"dependencies": {
"Newtonsoft.Json": "11.0.2",
"Sentry.PlatformAbstractions": "1.1.0",
"Sentry.Protocol": "2.1.1",
"System.Collections.Immutable": "1.5.0"
},
"compile": {
"lib/netstandard2.0/Sentry.dll": {}
},
"runtime": {
"lib/netstandard2.0/Sentry.dll": {}
}
},
"Sentry.PlatformAbstractions/1.1.0": {
"type": "package",
"compile": {
"lib/netstandard2.0/Sentry.PlatformAbstractions.dll": {}
},
"runtime": {
"lib/netstandard2.0/Sentry.PlatformAbstractions.dll": {}
}
},
"Sentry.Protocol/2.1.1": {
"type": "package",
"compile": {
"lib/netstandard2.0/Sentry.Protocol.dll": {}
},
"runtime": {
"lib/netstandard2.0/Sentry.Protocol.dll": {}
}
},
"System.AppContext/4.3.0": {
"type": "package",
"dependencies": {
@ -454,6 +487,15 @@
"lib/netstandard1.3/System.Collections.Concurrent.dll": {}
}
},
"System.Collections.Immutable/1.5.0": {
"type": "package",
"compile": {
"lib/netstandard2.0/System.Collections.Immutable.dll": {}
},
"runtime": {
"lib/netstandard2.0/System.Collections.Immutable.dll": {}
}
},
"System.Configuration.ConfigurationManager/4.5.0": {
"type": "package",
"dependencies": {
@ -2073,6 +2115,63 @@
"runtimes/ubuntu.16.10-x64/native/System.Security.Cryptography.Native.OpenSsl.so"
]
},
"Sentry/2.1.1": {
"sha512": "meRjG2zD1rh7bL6TJffXRUY4eRZx6oRcKXa9UY3hj1YnflErUJ4Nc1z/9G6kWtq88x8Di8O/iwy/FpaN/8lu3w==",
"type": "package",
"path": "sentry/2.1.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net461/Sentry.dll",
"lib/net461/Sentry.pdb",
"lib/net461/Sentry.xml",
"lib/netstandard2.0/Sentry.dll",
"lib/netstandard2.0/Sentry.pdb",
"lib/netstandard2.0/Sentry.xml",
"sentry.2.1.1.nupkg.sha512",
"sentry.nuspec"
]
},
"Sentry.PlatformAbstractions/1.1.0": {
"sha512": "4fhSK6bImR2IDXGCUAupMeN5ILcOSVv9CygagU0vgwsByhcOEnAcB1K69gMXkvBgGkM8FczY+y5fdtCDKfLFMA==",
"type": "package",
"path": "sentry.platformabstractions/1.1.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net35/Sentry.PlatformAbstractions.dll",
"lib/net40/Sentry.PlatformAbstractions.dll",
"lib/net45/Sentry.PlatformAbstractions.dll",
"lib/net471/Sentry.PlatformAbstractions.dll",
"lib/netstandard1.5/Sentry.PlatformAbstractions.dll",
"lib/netstandard2.0/Sentry.PlatformAbstractions.dll",
"sentry.platformabstractions.1.1.0.nupkg.sha512",
"sentry.platformabstractions.nuspec"
]
},
"Sentry.Protocol/2.1.1": {
"sha512": "w9Es1Ylj+GmuFhPhNae062weYzYGBDlkv93+Bsz9I88Q5zWz5oKq53W92nON54wS8uk7JPNu8c5r0un6a0MnQg==",
"type": "package",
"path": "sentry.protocol/2.1.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net45/Sentry.Protocol.dll",
"lib/net45/Sentry.Protocol.pdb",
"lib/net45/Sentry.Protocol.xml",
"lib/net46/Sentry.Protocol.dll",
"lib/net46/Sentry.Protocol.pdb",
"lib/net46/Sentry.Protocol.xml",
"lib/netstandard1.3/Sentry.Protocol.dll",
"lib/netstandard1.3/Sentry.Protocol.pdb",
"lib/netstandard1.3/Sentry.Protocol.xml",
"lib/netstandard2.0/Sentry.Protocol.dll",
"lib/netstandard2.0/Sentry.Protocol.pdb",
"lib/netstandard2.0/Sentry.Protocol.xml",
"sentry.protocol.2.1.1.nupkg.sha512",
"sentry.protocol.nuspec"
]
},
"System.AppContext/4.3.0": {
"sha512": "fKC+rmaLfeIzUhagxY17Q9siv/sPrjjKcfNg1Ic8IlQkZLipo8ljcaZQu4VtI4Jqbzjc2VTjzGLF6WmsRXAEgA==",
"type": "package",
@ -2293,6 +2392,29 @@
"system.collections.concurrent.nuspec"
]
},
"System.Collections.Immutable/1.5.0": {
"sha512": "EXKiDFsChZW0RjrZ4FYHu9aW6+P4MCgEDCklsVseRfhoO0F+dXeMSsMRAlVXIo06kGJ/zv+2w1a2uc2+kxxSaQ==",
"type": "package",
"path": "system.collections.immutable/1.5.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/netstandard1.0/System.Collections.Immutable.dll",
"lib/netstandard1.0/System.Collections.Immutable.xml",
"lib/netstandard1.3/System.Collections.Immutable.dll",
"lib/netstandard1.3/System.Collections.Immutable.xml",
"lib/netstandard2.0/System.Collections.Immutable.dll",
"lib/netstandard2.0/System.Collections.Immutable.xml",
"lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.dll",
"lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.xml",
"system.collections.immutable.1.5.0.nupkg.sha512",
"system.collections.immutable.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Configuration.ConfigurationManager/4.5.0": {
"sha512": "UIFvaFfuKhLr9u5tWMxmVoDPkFeD+Qv8gUuap4aZgVGYSYMdERck4OhLN/2gulAc0nYTEigWXSJNNWshrmxnng==",
"type": "package",
@ -5346,9 +5468,10 @@
},
"projectFileDependencyGroups": {
".NETCoreApp,Version=v3.1": [
"InfluxDB.Client >= *",
"InfluxDB.Client >= 1.6.0",
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets >= 1.10.8",
"RabbitMQ.Client >= 5.1.2"
"RabbitMQ.Client >= 5.1.2",
"Sentry >= *"
]
},
"packageFolders": {
@ -5390,7 +5513,7 @@
"dependencies": {
"InfluxDB.Client": {
"target": "Package",
"version": "[*, )"
"version": "[1.6.0, )"
},
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets": {
"target": "Package",
@ -5399,6 +5522,10 @@
"RabbitMQ.Client": {
"target": "Package",
"version": "[5.1.2, )"
},
"Sentry": {
"target": "Package",
"version": "[*, )"
}
},
"imports": [

View File

@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "Y5RwcnUuvOxx1gVGUSwQ33gvHcaNBiPwLoQwdHu8iE6nUyEZeVFBl/PxPHg5TT62Vm36Muhxefikd8dMYyIRXg==",
"dgSpecHash": "IWSHIzbGE7u3DKmVMQUgh3o0aKYVwFLN4nuMgd3CB4lHbhNwjCMtYarghAxEdDGtKmY1mZ92pvkjcKjEB/t7zA==",
"success": true,
"projectFilePath": "C:\\Users\\Torma Kristóf\\source\\repos\\output-service-tsdb\\OutputServiceTSDB.csproj",
"expectedPackageFiles": [
@ -37,10 +37,14 @@
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\sentry\\2.1.1\\sentry.2.1.1.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\sentry.platformabstractions\\1.1.0\\sentry.platformabstractions.1.1.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\sentry.protocol\\2.1.1\\sentry.protocol.2.1.1.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.appcontext\\4.3.0\\system.appcontext.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.buffers\\4.5.0\\system.buffers.4.5.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.collections.immutable\\1.5.0\\system.collections.immutable.1.5.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.configuration.configurationmanager\\4.5.0\\system.configuration.configurationmanager.4.5.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.console\\4.3.0\\system.console.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512",