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

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Liudmila Molkova committed Aug 21, 2018
1 parent 190b57f commit 8140ff1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,9 @@ private RequestTelemetry InitializeRequestTelemetry(HttpContext httpContext, Act

foreach (var prop in activity.Baggage)
{
if (!requestTelemetry.Context.Properties.ContainsKey(prop.Key))
if (!requestTelemetry.Properties.ContainsKey(prop.Key))
{
requestTelemetry.Context.Properties[prop.Key] = prop.Value;
requestTelemetry.Properties[prop.Key] = prop.Value;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>Microsoft.ApplicationInsights.AspNetCore</AssemblyName>
<VersionPrefix>2.4.1</VersionPrefix>
<VersionPrefix>2.5.0-beta1</VersionPrefix>
<Authors>Microsoft</Authors>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<AssemblyTitle>Application Insights for ASP.NET Core Web Applications</AssemblyTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ public void DoesntAddSourceIfRequestHeadersDontHaveSource()

#pragma warning disable 612, 618
[Fact]
public void OnHttpRequestInStartWithW3CHeadersIsTrackedCorrectly()
public void OnBeginRequestWithW3CHeadersIsTrackedCorrectly()
{
var configuration = TelemetryConfiguration.CreateDefault();
configuration.TelemetryInitializers.Add(new W3COperationCorrelationTelemetryInitializer());
Expand Down Expand Up @@ -649,7 +649,7 @@ public void OnHttpRequestInStartWithW3CHeadersIsTrackedCorrectly()
}

[Fact]
public void OnHttpRequestInStartWithW3CHeadersAndRequestIdIsTrackedCorrectly()
public void OnBeginRequestWithW3CHeadersAndRequestIdIsTrackedCorrectly()
{
var configuration = TelemetryConfiguration.CreateDefault();
configuration.TelemetryInitializers.Add(new W3COperationCorrelationTelemetryInitializer());
Expand Down Expand Up @@ -694,7 +694,7 @@ public void OnHttpRequestInStartWithW3CHeadersAndRequestIdIsTrackedCorrectly()
}

[Fact]
public void OnHttpRequestInStartWithNoW3CHeadersAndRequestIdIsTrackedCorrectly()
public void OnBeginRequestWithNoW3CHeadersAndRequestIdIsTrackedCorrectly()
{
var configuration = TelemetryConfiguration.CreateDefault();
configuration.TelemetryInitializers.Add(new W3COperationCorrelationTelemetryInitializer());
Expand Down Expand Up @@ -728,7 +728,7 @@ public void OnHttpRequestInStartWithNoW3CHeadersAndRequestIdIsTrackedCorrectly()
}

[Fact]
public void OnHttpRequestInStartWithW3CSupportAndNoHeadersIsTrackedCorrectly()
public void OnBeginRequestWithW3CSupportAndNoHeadersIsTrackedCorrectly()
{
var configuration = TelemetryConfiguration.CreateDefault();
configuration.TelemetryInitializers.Add(new W3COperationCorrelationTelemetryInitializer());
Expand Down Expand Up @@ -767,7 +767,7 @@ public void OnHttpRequestInStartWithW3CSupportAndNoHeadersIsTrackedCorrectly()
}

[Fact]
public void OnHttpRequestInStartWithW3CHeadersAndAppIdInState()
public void OnBeginRequestWithW3CHeadersAndAppIdInState()
{
var configuration = TelemetryConfiguration.CreateDefault();
configuration.TelemetryInitializers.Add(new W3COperationCorrelationTelemetryInitializer());
Expand Down

0 comments on commit 8140ff1

Please sign in to comment.