Update README.md Upgrade appInsights.context (#910)

Add missing `properties` in `appInsights.properties.context.telemetryTrace.traceID` example
This commit is contained in:
Adam 2019-05-31 10:03:51 +10:00 коммит произвёл Mark Wolff
Родитель e423018d8d
Коммит 0949e255c9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -180,7 +180,7 @@ Breaking changes in the SDK V2 version:
- To allow for better API signatures, some of the apis such as trackPageView, trackException have been updated. Running in IE8 or lower versions of the browser is not supported.
- Telemetry envelope has field name and structure changes due to data schema updates.
- Moved `context.operation` to `context.telemetryTrace`. Some fields were also changed (`operation.id` --> `telemetryTrace.traceID`)
- If you want to maunally refresh the current pageview id (e.g. in SPA apps) this can be done with `appInsights.context.telemetryTrace.traceID = Util.newId()`
- If you want to maunally refresh the current pageview id (e.g. in SPA apps) this can be done with `appInsights.properties.context.telemetryTrace.traceID = Util.newId()`
If you are using the current application insights PRODUCTION SDK (1.0.20) and want to see if the new SDK works in runtime, please update URL depending on your current SDK loading scenario: