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

Verify that App Services slot swaps are being detected in Web SDK #872

@d3r3kk

Description

@d3r3kk

There is some concern that slot swap detection is not reliable in the Web SDK for App Services. We have seen evidence that the slot swap was not being detected properly in Azure Functions, and we must ensure that other App Services (Web Apps, for instance) are not affected in the same way.

See comments in PR #870 regarding the use of WEBSITE_HOSTNAME for further insight & details.

Repro Steps

  1. Create test web application in Azure (use the New Devops Project workflow)
  2. Add a deployment slot to the application's CD pipeline
  3. Instrument the application with the latest beta Web SDK
  4. Perform a slot swap and watch App Insights Analytics to ensure WEBSITE_HOSTNAME is being recorded properly.

Actual Behavior

TO BE VERIFIED

Expected Behavior

The nodeName property of application insights telemetry will update to reflect the correct slot name within 30 seconds of the slot change.

Version Info

SDK Version : latest beta.
.NET Version : 4.5 (.NET full framework) or 1.3 (.NET Standard)
Hosting Info (IIS/Azure WebApps/ etc) : WebApps

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions