@fluidframework/app-insights-logger 3.0.2 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +30 -34
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -11,8 +11,7 @@ You create an App Insights Instance and then configure your applications to send
|
|
|
11
11
|
This could be general machine related health being automatically reported to the instance when you install a logging program on your service’s machines or custom metrics that you manually configure your applications to send. Keep in mind this logger is intended for use with browser based web applications, not pure nodeJS.
|
|
12
12
|
In our case, we are sending custom metrics. [Learn more about Azure App Insights with their docs](https://learn.microsoft.com/en-us/azure/azure-monitor/app/app-insights-overview?tabs=net)
|
|
13
13
|
|
|
14
|
-
<!--
|
|
15
|
-
|
|
14
|
+
<!-- markdown-magic:begin {"transform":"library-readme-header","headingLevel":2} -->
|
|
16
15
|
<!-- prettier-ignore-start -->
|
|
17
16
|
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
18
17
|
|
|
@@ -46,8 +45,7 @@ Import the `beta` APIs from `@fluidframework/app-insights-logger/beta`.
|
|
|
46
45
|
Read the **@fluidframework/app-insights-logger** API documentation at <https://fluidframework.com/docs/apis/app-insights-logger>.
|
|
47
46
|
|
|
48
47
|
<!-- prettier-ignore-end -->
|
|
49
|
-
|
|
50
|
-
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
48
|
+
<!-- markdown-magic:end -->
|
|
51
49
|
|
|
52
50
|
## Use case
|
|
53
51
|
|
|
@@ -102,8 +100,7 @@ From the Azure web portal, navigate to your app insights instance. Now, go to th
|
|
|
102
100
|
| where customDimensions.name == "performance"
|
|
103
101
|
```
|
|
104
102
|
|
|
105
|
-
<!--
|
|
106
|
-
|
|
103
|
+
<!-- markdown-magic:begin {"transform":"readme-footer","headingLevel":2} -->
|
|
107
104
|
<!-- prettier-ignore-start -->
|
|
108
105
|
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
109
106
|
|
|
@@ -120,29 +117,29 @@ To request support for a configuration that is not listed, file an issue.
|
|
|
120
117
|
The product team will evaluate your request.
|
|
121
118
|
In the issue, specify the current status of the configuration:
|
|
122
119
|
|
|
123
|
-
-
|
|
124
|
-
-
|
|
120
|
+
- The configuration works but needs official support.
|
|
121
|
+
- The configuration does not work and requires changes.
|
|
125
122
|
|
|
126
123
|
### Supported Runtimes
|
|
127
124
|
|
|
128
|
-
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
-
|
|
125
|
+
- Fluid Framework supports Node.js versions 22 and 24 while they receive [upstream support](https://nodejs.org/en/about/previous-releases).
|
|
126
|
+
- Fluid Framework will stop support for version 22 [when upstream support ends on 2027-04-30](https://github.com/nodejs/release#release-schedule).
|
|
127
|
+
- Fluid Framework does not support Node.js with the `--no-experimental-fetch` flag.
|
|
128
|
+
- Fluid Framework supports modern browsers that support the ES2022 standard library.
|
|
132
129
|
|
|
133
130
|
### Supported Tools
|
|
134
131
|
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
|
|
132
|
+
- [TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0):
|
|
133
|
+
- Fluid Framework supports all [`strict`](https://www.typescriptlang.org/tsconfig) options.
|
|
134
|
+
- Set the build targets (`lib`, `target`) to `ES2022` or later.
|
|
135
|
+
- Enable [`strictNullChecks`](https://www.typescriptlang.org/tsconfig).
|
|
136
|
+
- Fluid Framework does not support [configuration options deprecated in TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0#breaking-changes-and-deprecations-in-typescript-6-0).
|
|
137
|
+
- Fluid Framework does not fully support `exactOptionalPropertyTypes`.
|
|
138
|
+
If you enable this option, do not use `in`, `Reflect.has`, `Object.hasOwn`, or `Object.prototype.hasOwnProperty` to narrow members of Fluid Framework types.
|
|
139
|
+
These methods can incorrectly exclude `undefined` from the possible values.
|
|
140
|
+
- [webpack](https://webpack.js.org/) 5
|
|
141
|
+
- We do not require a specific bundler.
|
|
142
|
+
Other bundlers that handle ES Modules can work, but we actively test only webpack.
|
|
146
143
|
|
|
147
144
|
### Module Resolution
|
|
148
145
|
|
|
@@ -153,25 +150,25 @@ Do not use `Node10` module resolution.
|
|
|
153
150
|
|
|
154
151
|
### Module Formats
|
|
155
152
|
|
|
156
|
-
-
|
|
157
|
-
|
|
158
|
-
-
|
|
159
|
-
|
|
153
|
+
- ES Modules:
|
|
154
|
+
Use ES Modules to consume Fluid Framework client packages, including in Node.js.
|
|
155
|
+
- CommonJS:
|
|
156
|
+
Fluid Framework does not officially support CommonJS in version 3.0 or later.
|
|
160
157
|
|
|
161
158
|
## Contribution Guidelines
|
|
162
159
|
|
|
163
160
|
You can [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid Framework in these ways:
|
|
164
161
|
|
|
165
|
-
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
168
|
-
-
|
|
162
|
+
- Answer questions in [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
|
|
163
|
+
- [Submit bug reports](https://github.com/microsoft/FluidFramework/issues) and help verify fixes.
|
|
164
|
+
- Review [source code changes](https://github.com/microsoft/FluidFramework/pulls).
|
|
165
|
+
- [Contribute bug fixes](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md).
|
|
169
166
|
|
|
170
167
|
For detailed instructions, read the [repo documentation](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Home.md).
|
|
171
168
|
|
|
172
169
|
This project follows the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
173
170
|
For more information, read the [Code of Conduct frequently asked questions](https://opensource.microsoft.com/codeofconduct/faq/).
|
|
174
|
-
For questions or comments, contact
|
|
171
|
+
For questions or comments, contact <opencode@microsoft.com>.
|
|
175
172
|
|
|
176
173
|
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
|
|
177
174
|
Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
|
|
@@ -192,5 +189,4 @@ Use of these trademarks or logos must follow Microsoft's [Trademark & Brand Guid
|
|
|
192
189
|
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
|
|
193
190
|
|
|
194
191
|
<!-- prettier-ignore-end -->
|
|
195
|
-
|
|
196
|
-
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
192
|
+
<!-- markdown-magic:end -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/app-insights-logger",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Contains a Fluid logging client that sends telemetry events to Azure App Insights",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@fluidframework/core-interfaces": "~3.0
|
|
36
|
+
"@fluidframework/core-interfaces": "~3.1.0",
|
|
37
37
|
"@microsoft/applicationinsights-web": "^2.8.11"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
41
41
|
"@biomejs/biome": "~2.4.5",
|
|
42
|
-
"@fluid-internal/mocha-test-setup": "~3.0
|
|
42
|
+
"@fluid-internal/mocha-test-setup": "~3.1.0",
|
|
43
43
|
"@fluid-tools/build-cli": "^0.67.0",
|
|
44
44
|
"@fluidframework/app-insights-logger-previous": "npm:@fluidframework/app-insights-logger@2.116.0",
|
|
45
45
|
"@fluidframework/build-common": "^2.0.3",
|