Skip to content

Commit

Permalink
Merge branch 'hectorh/master' of https://github.com/Microsoft/Applica…
Browse files Browse the repository at this point in the history
…tionInsights-JS into hectorh/master
  • Loading branch information
hectorhdzg committed Jun 18, 2019
2 parents 7aee938 + 06140df commit e9392e9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Most configuration fields are named such that they can be defaulted to falsey. A
| isBeaconApiDisabled | true | If false, the SDK will send all telemetry using the [Beacon API](https://www.w3.org/TR/beacon) |
| sdkExtension | null | Sets the sdk extension name. Only alphabetic characters are allowed. The extension name is added as a prefix to the 'ai.internal.sdkVersion' tag (e.g. 'ext_javascript:2.0.0'). Default is null. |
| isBrowserLinkTrackingEnabled | false | Default is false. If true, the SDK will track all [Browser Link](https://docs.microsoft.com/en-us/aspnet/core/client-side/using-browserlink) requests. |
| appId | null | AppId is used for the correlation between AJAX dependencies happening on the client-side with the server-side requets. When Beacon API is enabled, it cannot be used automatically, but can be set manually in the configuration. Default is null |
| appId | null | AppId is used for the correlation between AJAX dependencies happening on the client-side with the server-side requests. When Beacon API is enabled, it cannot be used automatically, but can be set manually in the configuration. Default is null |
| enableCorsCorrelation | false | If true, the SDK will add two headers ('Request-Id' and 'Request-Context') to all CORS requests tocorrelate outgoing AJAX dependencies with corresponding requests on the server side. Default is false |
| namePrefix | undefined | An optional value that will be used as name postfix for localStorage and cookie name.

Expand Down
8 changes: 8 additions & 0 deletions vNext/shared/AppInsightsCommon/src/Interfaces/IConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,14 @@ export interface IConfig {
*/
enableCorsCorrelation?: boolean;

/**
* @description An optional value that will be used as name postfix for localStorage and cookie name.
* @type {string}
* @memberof IConfig
* @defaultValue null
*/
namePrefix?: string;

// Internal

/**
Expand Down

0 comments on commit e9392e9

Please sign in to comment.