Skip to content

Commit

Permalink
remove use of app insights
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny committed Sep 12, 2016
1 parent 83d226a commit 93249d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
7 changes: 1 addition & 6 deletions src/SignService/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public void ConfigureServices(IServiceCollection services)
{
// Add framework services.

services.AddApplicationInsightsTelemetry(Configuration);


services.AddSingleton<ICodeSignService>(sp =>
{

Expand All @@ -60,9 +57,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF
{
loggerFactory.AddConsole(Configuration.GetSection("Logging"));
loggerFactory.AddDebug();

app.UseApplicationInsightsExceptionTelemetry();
app.UseApplicationInsightsRequestTelemetry();


app.UseJwtBearerAuthentication(new JwtBearerOptions
{
Expand Down
3 changes: 0 additions & 3 deletions src/SignService/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,5 @@
"System": "Information",
"Microsoft": "Information"
}
},
"ApplicationInsights": {
"InstrumentationKey": ""
}
}
3 changes: 1 addition & 2 deletions src/SignService/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"Microsoft.Extensions.Logging": "1.0.0",
"Microsoft.Extensions.Logging.Console": "1.0.0",
"Microsoft.Extensions.Logging.Debug": "1.0.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
"Microsoft.ApplicationInsights.AspNetCore": "1.0.0"
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0"
},

"tools": {
Expand Down

0 comments on commit 93249d1

Please sign in to comment.