Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Calling AddApplicationInsightsTelemetry makes duplicate telemetry by 4 times #366

Closed

Description

I created new ASP.NET Core Web Application in Visual Studio 2017.
And I added only this line in the ConfigureServices of Startup.cs

services.AddApplicationInsightsTelemetry(Configuration);

When I run it on local machine, it duplicates every telemetries by 4 times. This telemetry duplication happens on both debug session and actual Azure Application Insights service.
When I run it on azure Web App, it even doesn't send any telemetries at all.

If I remove above line of code, then it runs as well as I expected on both local machine and Azure Web App.

It doesn't look like an expected behavior at all, right?

The version of Microsoft.ApplicationInsights.AspNetCore was 2.0.0 in this experiment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions