Loading...
Applies to versions: Lastest
Other versions:

Application performance management

Recommended reading 

Optimizely DXP uses Microsoft's Application Insights with ready-to-use tools to manage application performance and monitor Web Apps.

Application Insights lets you troubleshoot exceptions that happen in the Web Apps and performance issues. See Creating an Optimizely cloud account to request access to Application Insights for your environment. To learn how to use this tool, see Microsoft's Application Insights for ASP.NET Core applications.

Application Insights is configured automatically for all sites in the DXP from the EPiServer.CloudPlatform.Cms package. 

Application Insight API key

Customers and partners can request an Application Insights API key for envionments from support@optimizely.com.

  • The API Key has list and read-only permissions.
  • You get only one key per requested environment; that is, if you request keys for Integration, Preproduction, and Production environments, you will get three keys.
  • If you need a new key, the previous key is overwritten.

For information about read-only API access key, see Using the API.

Single Page Application configuration

Set up usage tracking parameters to ensure that the website traffic volume monitoring is correct. For websites using the Single Page Application (SPA) concept, you need to specifically configure the page view tracking, because pages on these websites will not reload during usage. See Consumption metrics how to configure page view tracking for SPAs.

Logging

The ILogger automatically logs to Application Insights. By default, only Warning logs and more severe logs are automatically captured. To change this behavior, explicitly override the logging configuration for the provider ApplicationInsights as shown below. The following configuration allows ApplicationInsights to capture all Information logs and more severe logs.

{
  "Logging": {
    "LogLevel": {
      "Default": "Warning"
    },
    "ApplicationInsights": {
      "LogLevel": {
        "Default": "Information"
      }
    }
  }
}
Do you find this information helpful? Please log in to provide feedback.

Last updated: Sep 28, 2021

Recommended reading