Merge branch 'master' into modify_test

This commit is contained in:
Nev 2023-02-27 13:08:27 -08:00 коммит произвёл GitHub
Родитель b79839edb5 58ad8bf99a
Коммит 0567b0cca9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 9 добавлений и 3 удалений

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

@ -22,7 +22,7 @@
Application Insights - Web Basic SDK
Application Insights AI SKU Light is a package that combines minimum required packages for Web scenarios.
Refer to [ApplicationInsights-JS](../README.MD) for more details on getting started.
Refer to [ApplicationInsights-JS](../README.md) for more details on getting started.
## Contributing

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

@ -21,7 +21,7 @@
[![minified size size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.min.js.svg?label=minified%20size)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.min.js.svg?label=minified%20size)
[![gzip size](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.min.js.svg?compression=gzip&softmax=30000&max=35000)](https://img.badgesize.io/https://js.monitor.azure.com/scripts/b/ai.2.min.js.svg?compression=gzip&softmax=30000&max=35000)
> ***Note:*** The documentation for `applicationinsights-js@1.0.20` has moved [here](./legacy/README.md). If you are looking to upgrade to the new version of the SDK, please see the [Upgrade Guide](#upgrading-from-the-old-version-of-application-insights). For Node.js instrumentation reference this [repository](https://github.com/microsoft/ApplicationInsights-node.js).
> ***Note:*** The documentation for `applicationinsights-js@1.0.20` has moved [here](./legacy/README.md). If you are looking to upgrade to the new version of the SDK, please see the [Upgrade Guide](#upgrading-from-the-old-version-of-application-insights).
## Beta (v3.x) Release Breaking changes
@ -36,6 +36,13 @@ Some of the major changes include
See the [beta](https://github.com/Microsoft/ApplicationInsights-JS/tree/beta) for the current documented set of breaking changes, all feedback on excessive breaks are welcome current release target is early (1st quarter) 2023.
## Before Getting Started
This repo does not intended for non-browser enverionments, for example, the Node.js applications.
For instrumenting a Node.js app, please refer this [repository](https://github.com/microsoft/ApplicationInsights-node.js).
## Getting Started
1. Create an Application Insights resource in Azure by following [these instructions](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-javascript?toc=/azure/azure-monitor/toc.json).

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

@ -335,7 +335,6 @@ export class ajaxRecord {
duration: self.ajaxTotalDuration,
success: (+(self.status)) >= 200 && (+(self.status)) < 400,
responseCode: (+(self.status)),
method: self.method,
[STR_PROPERTIES]: { HttpMethod: self.method }
} as IDependencyTelemetry;