@tramvai/module-application-monitoring 6.80.25 → 6.81.11
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/README.md
CHANGED
|
@@ -147,7 +147,7 @@ There is a possibility to monitor the main events that occur while the Tramvai a
|
|
|
147
147
|
- `react:render`
|
|
148
148
|
- `react:error`
|
|
149
149
|
|
|
150
|
-
When you are using ApplicationMonitoringModule, these events are sent to your
|
|
150
|
+
When you are using ApplicationMonitoringModule, these events are sent to your logger by default. But in some cases, you will need custom metrics. Here is an example of how to do this:
|
|
151
151
|
|
|
152
152
|
```typescript
|
|
153
153
|
import { provide } from '@tramvai/core';
|
package/lib/sharedProviders.js
CHANGED
|
@@ -13,9 +13,6 @@ const sharedProviders = [
|
|
|
13
13
|
useFactory: ({ logger, tramvaiHooks }) => {
|
|
14
14
|
const log = logger({
|
|
15
15
|
name: constants.LOGGER_NAME,
|
|
16
|
-
defaults: {
|
|
17
|
-
remote: true,
|
|
18
|
-
},
|
|
19
16
|
});
|
|
20
17
|
return function applicationHealthSubscribe() {
|
|
21
18
|
let applicationRenderFinished = false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-application-monitoring",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.81.11",
|
|
4
4
|
"description": "Модуль сбора и отправки событий мониторинга состояния приложения",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"registry": "https://registry.npmjs.org/"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tramvai/module-common": "6.
|
|
27
|
-
"@tramvai/tokens-render": "6.
|
|
26
|
+
"@tramvai/module-common": "6.81.11",
|
|
27
|
+
"@tramvai/tokens-render": "6.81.11"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@tinkoff/dippy": "^1.0.0",
|
|
31
|
-
"@tramvai/core": "6.
|
|
32
|
-
"@tramvai/react": "6.
|
|
31
|
+
"@tramvai/core": "6.81.11",
|
|
32
|
+
"@tramvai/react": "6.81.11",
|
|
33
33
|
"tslib": "^2.4.0"
|
|
34
34
|
}
|
|
35
35
|
}
|