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

Implement synthetic traffic fileting from GSM #23

Closed
SergeyKanzhelev opened this issue Apr 15, 2015 · 3 comments
Closed

Implement synthetic traffic fileting from GSM #23

SergeyKanzhelev opened this issue Apr 15, 2015 · 3 comments

Comments

@SergeyKanzhelev
Copy link
Contributor

This will allow to mark synthetic traffic from availability tests https://azure.microsoft.com/en-us/documentation/articles/app-insights-monitor-web-app-availability/ with special flag "Synthetic Source"

We need to implement synthetic traffic filtering SyntheticTelemetryInitializer like we will have in 0.15 SDK for old-style web applications:

If header GsmSyntheticTestRunId present in request - set

  • telemetry.Context.Operation.SyntheticSource to Application Insights Availability Monitoring
  • telemetry.Context.User.Id to the value of the header SyntheticTest-Location
  • telemetry.Context.Session.Id to the value of the header SyntheticTest-RunId
@SergeyKanzhelev SergeyKanzhelev modified the milestone: 82.3 Apr 28, 2015
@abaranch abaranch modified the milestones: 83.2, 82.3 May 10, 2015
@olegsych olegsych modified the milestones: 84.1, 83.2 May 21, 2015
@abaranch abaranch removed this from the 84.1 milestone Feb 2, 2016
@gzepeda
Copy link
Contributor

gzepeda commented May 10, 2016

We already have a solution for this issue, but in order to create a pull request, I needed to open the project in the "Develop" branch, commit the changes there and send the pull request.

As explained by @kartang here in #191, that is currently not possible.

Master is too far behind right now compared to CLI and Develop as I can see, so I don't think doing the pull request from there is advisable.

Please let us know what path we should follow or if we should wait until we can open and compile the "develop" branch and use it.

gzepeda added a commit to gzepeda/ApplicationInsights-aspnetcore that referenced this issue May 12, 2016
kartang added a commit that referenced this issue May 25, 2016
Commit for #23 - Implement synthetic traffic filtering from GSM
@kartang
Copy link
Contributor

kartang commented Jun 13, 2016

Closing this issue, as the changes have been made and the process to merge from masterRC1 (with gsm changes) to master is being tracked by #217.

@kartang kartang closed this as completed Jun 13, 2016
@ohadschn
Copy link

ohadschn commented Nov 11, 2017

Is this the ASP.NET Core equivalent of Microsoft.ApplicationInsights.Web.SyntheticUserAgentTelemetryInitializer?

If so, shouldn't it be public to allow usage via code (TelemetryConfiguration.Active.TelemetryInitializers.Add(new SyntheticTelemetryInitializer()))?

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

No branches or pull requests

6 participants