@breadstone/archipel-platform-telemetry 0.0.22 → 0.0.23

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
@@ -17,7 +17,7 @@ import { TelemetryModule } from '@breadstone/archipel-platform-telemetry';
17
17
  - **Metrics collection**: Counter, histogram, and gauge recording via `TelemetryFacade`
18
18
  - **Distributed tracing**: OpenTelemetry SDK integration with automatic span creation
19
19
  - **Operation interceptor**: `OperationTelemetryInterceptor` wraps controller methods in telemetry operations (returns `Observable<unknown>`)
20
- - **Graceful degradation**: Falls back to `NoopTelemetryFacade` when disabled zero overhead
20
+ - **Graceful degradation**: Falls back to `NoopTelemetryFacade` when disabled - zero overhead
21
21
  - **Health checks**: Integration with health module for observability readiness
22
22
  - **Structured logging**: `TelemetryLoggerService` with request correlation IDs
23
23
  - **Eager metric init**: `MetricsService` creates instruments at startup via `OnModuleInit`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/archipel-platform-telemetry",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "OpenTelemetry integration with tracing, metrics, and graceful no-op fallback for NestJS.",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -28,8 +28,8 @@
28
28
  "README.md"
29
29
  ],
30
30
  "dependencies": {
31
- "@breadstone/archipel-platform-caching": "0.0.22",
32
- "@breadstone/archipel-platform-core": "0.0.22",
31
+ "@breadstone/archipel-platform-caching": "0.0.23",
32
+ "@breadstone/archipel-platform-core": "0.0.23",
33
33
  "tslib": "2.8.1"
34
34
  },
35
35
  "peerDependencies": {
@@ -12,7 +12,7 @@ export declare class OtelSdkHolder implements OnApplicationShutdown {
12
12
  private _sdk?;
13
13
  /**
14
14
  * Stores the SDK reference so it can be shut down later.
15
- * Can only be called once subsequent calls are ignored.
15
+ * Can only be called once - subsequent calls are ignored.
16
16
  */
17
17
  setSdk(sdk: unknown): void;
18
18
  /** @inheritdoc */
@@ -24,11 +24,11 @@ let OtelSdkHolder = OtelSdkHolder_1 = class OtelSdkHolder {
24
24
  // #region Methods
25
25
  /**
26
26
  * Stores the SDK reference so it can be shut down later.
27
- * Can only be called once subsequent calls are ignored.
27
+ * Can only be called once - subsequent calls are ignored.
28
28
  */
29
29
  setSdk(sdk) {
30
30
  if (this._sdk) {
31
- this._logger.warn('OtelSdkHolder.setSdk() called more than once ignoring.');
31
+ this._logger.warn('OtelSdkHolder.setSdk() called more than once - ignoring.');
32
32
  return;
33
33
  }
34
34
  this._sdk = sdk;