@tramvai/module-application-monitoring 6.80.26 → 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 remote logger by default. But in some cases, you will need custom metrics. Here is an example of how to do this:
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';
@@ -9,9 +9,6 @@ const sharedProviders = [
9
9
  useFactory: ({ logger, tramvaiHooks }) => {
10
10
  const log = logger({
11
11
  name: LOGGER_NAME,
12
- defaults: {
13
- remote: true,
14
- },
15
12
  });
16
13
  return function applicationHealthSubscribe() {
17
14
  let applicationRenderFinished = false;
@@ -9,9 +9,6 @@ const sharedProviders = [
9
9
  useFactory: ({ logger, tramvaiHooks }) => {
10
10
  const log = logger({
11
11
  name: LOGGER_NAME,
12
- defaults: {
13
- remote: true,
14
- },
15
12
  });
16
13
  return function applicationHealthSubscribe() {
17
14
  let applicationRenderFinished = false;
@@ -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.80.26",
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.80.26",
27
- "@tramvai/tokens-render": "6.80.26"
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.80.26",
32
- "@tramvai/react": "6.80.26",
31
+ "@tramvai/core": "6.81.11",
32
+ "@tramvai/react": "6.81.11",
33
33
  "tslib": "^2.4.0"
34
34
  }
35
35
  }