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

Duplicated HttpCoreDiagnosticSourceListeners #848

Closed
lmolkova opened this issue Mar 8, 2018 · 5 comments
Closed

Duplicated HttpCoreDiagnosticSourceListeners #848

lmolkova opened this issue Mar 8, 2018 · 5 comments
Assignees
Labels

Comments

@lmolkova
Copy link
Member

lmolkova commented Mar 8, 2018

There are 2 different HttpCoreDiagnosticSourceListeners.cs files.

https://github.com/Microsoft/ApplicationInsights-dotnet-server/blob/develop/Src/DependencyCollector/Shared/HttpCoreDiagnosticSourceListener.cs

and

https://github.com/Microsoft/ApplicationInsights-dotnet-server/blob/develop/Src/DependencyCollector/Shared/Implementation/HttpCoreDiagnosticSourceListener.cs

The duplicate was presumably introduced in dc8dfc6#diff-4f1ffbdf34be32bff51fcc9812e0c990

As a result #723 is not fixed (and may be some other issues as well)

@lmolkova lmolkova added the bug label Mar 8, 2018
@lmolkova
Copy link
Member Author

lmolkova commented Mar 8, 2018

cc @MS-TimothyMothra

@TimothyMothra TimothyMothra self-assigned this Mar 8, 2018
@TimothyMothra
Copy link
Member

Thank you, I will investigate

@TimothyMothra
Copy link
Member

@lmolkova,
The file under the Implementation directory isn't referenced in the project and isn't being compiled.
These files are mostly identical, it looks like @cijothomas was experimenting with NetCore 2.0.

I will confirm with Cijo, but I think we could delete this duplicate file.
But as of right now, I don't think this is affecting anything.
Please let me know if you see something I missed.

@lmolkova
Copy link
Member Author

lmolkova commented Mar 9, 2018

It is not an experiment, it is a fix for #723, the still issue affects customers

@TimothyMothra
Copy link
Member

Oh! Sorry, I see that now.
I'll clean this up and create a PR, will tag you to review.
I might need your help to write a unit test for this scenario.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants