1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 21:18:13 -05:00

remove application insights

This commit is contained in:
Kyle Spearrin 2017-03-01 22:13:27 -05:00
parent c0062403e2
commit 1fed877f79
3 changed files with 0 additions and 11 deletions

View File

@ -46,7 +46,6 @@ namespace Bit.Api
if(env.IsDevelopment())
{
builder.AddUserSecrets();
builder.AddApplicationInsightsSettings(developerMode: true);
}
builder.AddEnvironmentVariables();
@ -60,8 +59,6 @@ namespace Bit.Api
public void ConfigureServices(IServiceCollection services)
{
services.AddApplicationInsightsTelemetry(Configuration);
var provider = services.BuildServiceProvider();
// Options
@ -245,10 +242,6 @@ namespace Bit.Api
// Rate limiting
app.UseMiddleware<CustomIpRateLimitMiddleware>();
// Insights
app.UseApplicationInsightsRequestTelemetry();
app.UseApplicationInsightsExceptionTelemetry();
// Add static files to the request pipeline.
app.UseStaticFiles();

View File

@ -19,7 +19,6 @@
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
"Microsoft.Extensions.Configuration.Binder": "1.1.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
"Microsoft.ApplicationInsights.AspNetCore": "1.0.2",
"AspNetCoreRateLimit": "1.0.5",
"Serilog.Extensions.Logging": "1.3.1",
"Serilog.Sinks.AzureDocumentDb": "3.5.17",

View File

@ -1,7 +1,4 @@
{
"ApplicationInsights": {
"InstrumentationKey": "5e6c8e7c-8a6d-4d4b-866e-4b80e5b9203e"
},
"globalSettings": {
"siteName": "bitwarden",
"baseVaultUri": "http://localhost:4001",