@rsdk/core 5.2.1-next.1 → 5.2.1-next.2

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 CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.2.1-next.2](https://github.com/R-Vision/rsdk/compare/v5.2.1-next.1...v5.2.1-next.2) (2024-10-21)
7
+
8
+ ### Bug Fixes
9
+
10
+ * logging + otel ([#297](https://github.com/R-Vision/rsdk/issues/297)) ([3b06993](https://github.com/R-Vision/rsdk/commit/3b069936c6aaa0eb5285b82f079ffe435a38bbdc))
11
+
6
12
  ## [5.2.1-next.1](https://github.com/R-Vision/rsdk/compare/v5.2.1-next.0...v5.2.1-next.1) (2024-10-18)
7
13
 
8
14
  **Note:** Version bump only for package @rsdk/core
@@ -39,6 +39,7 @@ let LoggerInitializingModule = class LoggerInitializingModule {
39
39
  {
40
40
  target: 'pino/file',
41
41
  options: { destination: process.stdout.fd },
42
+ level: config.level,
42
43
  },
43
44
  ];
44
45
  if (config.otelEnabled) {
@@ -49,6 +50,7 @@ let LoggerInitializingModule = class LoggerInitializingModule {
49
50
  * (unsafe destructuring in pino-opentelemetry-transport)
50
51
  */
51
52
  options: {},
53
+ level: config.level,
52
54
  });
53
55
  }
54
56
  return { targets };
@@ -1 +1 @@
1
- {"version":3,"file":"logger-initializing.module.js","sourceRoot":"","sources":["../../src/logging/logger-initializing.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwC;AACxC,2CAA8C;AAE9C,gDAAwB;AAExB,qDAAiD;AAG1C,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;;IAC3B,MAAM,CAAC,MAAM,GAAG,uBAAa,CAAC,MAAM,CAAC,0BAAwB,CAAC,CAAC;IAEvE,YAAY,MAAqB;QAC/B,MAAM,GAAG,GAAG,GAAS,EAAE;YACrB,0BAAwB,CAAC,MAAM,CAAC,IAAI,CAClC,uBAAuB,MAAM,CAAC,KAAK,GAAG,EACtC;gBACE,QAAQ,EAAE,MAAM,CAAC,KAAK;aACvB,CACF,CAAC;YAEF,uBAAa,CAAC,WAAW,CAAC;gBACxB,GAAG,MAAM;gBACT,MAAM,EAAE,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;aAC3D,CAAC,CAAC;QACL,CAAC,CAAC;QAEF,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACrB,GAAG,EAAE,CAAC;IACR,CAAC;IAEO,qBAAqB,CAAC,MAAqB;QACjD,MAAM,OAAO,GAA6B;YACxC;gBACE,MAAM,EAAE,WAAW;gBACnB,OAAO,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE;aAC5C;SACF,CAAC;QAEF,IAAI,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,OAAO,CAAC,IAAI,CAAC;gBACX,MAAM,EAAE,8BAA8B;gBACtC;;;mBAGG;gBACH,OAAO,EAAE,EAAE;aACZ,CAAC,CAAC;QACL,CAAC;QAED,OAAO,EAAE,OAAO,EAAE,CAAC;IACrB,CAAC;;AA1CU,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,eAAM,EAAC,EAAE,CAAC;qCAIW,8BAAa;GAHtB,wBAAwB,CA2CpC"}
1
+ {"version":3,"file":"logger-initializing.module.js","sourceRoot":"","sources":["../../src/logging/logger-initializing.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwC;AACxC,2CAA8C;AAE9C,gDAAwB;AAExB,qDAAiD;AAG1C,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;;IAC3B,MAAM,CAAC,MAAM,GAAG,uBAAa,CAAC,MAAM,CAAC,0BAAwB,CAAC,CAAC;IAEvE,YAAY,MAAqB;QAC/B,MAAM,GAAG,GAAG,GAAS,EAAE;YACrB,0BAAwB,CAAC,MAAM,CAAC,IAAI,CAClC,uBAAuB,MAAM,CAAC,KAAK,GAAG,EACtC;gBACE,QAAQ,EAAE,MAAM,CAAC,KAAK;aACvB,CACF,CAAC;YAEF,uBAAa,CAAC,WAAW,CAAC;gBACxB,GAAG,MAAM;gBACT,MAAM,EAAE,cAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;aAC3D,CAAC,CAAC;QACL,CAAC,CAAC;QAEF,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACrB,GAAG,EAAE,CAAC;IACR,CAAC;IAEO,qBAAqB,CAAC,MAAqB;QACjD,MAAM,OAAO,GAA6B;YACxC;gBACE,MAAM,EAAE,WAAW;gBACnB,OAAO,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE;gBAC3C,KAAK,EAAE,MAAM,CAAC,KAAK;aACpB;SACF,CAAC;QAEF,IAAI,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,OAAO,CAAC,IAAI,CAAC;gBACX,MAAM,EAAE,8BAA8B;gBACtC;;;mBAGG;gBACH,OAAO,EAAE,EAAE;gBACX,KAAK,EAAE,MAAM,CAAC,KAAK;aACpB,CAAC,CAAC;QACL,CAAC;QAED,OAAO,EAAE,OAAO,EAAE,CAAC;IACrB,CAAC;;AA5CU,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,eAAM,EAAC,EAAE,CAAC;qCAIW,8BAAa;GAHtB,wBAAwB,CA6CpC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdk/core",
3
- "version": "5.2.1-next.1",
3
+ "version": "5.2.1-next.2",
4
4
  "description": "Nestjs based microservice chassis",
5
5
  "license": "Apache License 2.0",
6
6
  "publishConfig": {
@@ -16,14 +16,14 @@
16
16
  "dependencies": {
17
17
  "dotenv": "^16.3.1",
18
18
  "lodash": "^4.17.21",
19
- "pino": "^8.16.1",
19
+ "pino": "^8.21.0",
20
20
  "prom-client": "^14.2.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@nestjs/common": "^10.0.0",
24
24
  "@nestjs/core": "^10.0.0",
25
25
  "@nestjs/microservices": "^10.0.0",
26
- "@opentelemetry/api": "1.7.0",
26
+ "@opentelemetry/api": "1.9.0",
27
27
  "@opentelemetry/exporter-logs-otlp-http": "0.53.0",
28
28
  "@rsdk/actx": "*",
29
29
  "@rsdk/autodoc.protocol": "*",
@@ -49,5 +49,5 @@
49
49
  "optional": true
50
50
  }
51
51
  },
52
- "gitHead": "799058ed9b06dc143ebb2dc2d94f80d55f1cb204"
52
+ "gitHead": "eee528c9d53e17c1ae689ef49f55ce9448c8fc82"
53
53
  }
@@ -33,6 +33,7 @@ export class LoggerInitializingModule {
33
33
  {
34
34
  target: 'pino/file',
35
35
  options: { destination: process.stdout.fd },
36
+ level: config.level,
36
37
  },
37
38
  ];
38
39
 
@@ -44,6 +45,7 @@ export class LoggerInitializingModule {
44
45
  * (unsafe destructuring in pino-opentelemetry-transport)
45
46
  */
46
47
  options: {},
48
+ level: config.level,
47
49
  });
48
50
  }
49
51