mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05:00
remove application insights
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user