@btravstack/observability 0.25.0 → 0.27.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/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +8 -8
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as Sink, r as createLogger, t as Line } from "./logger-B1-_76ej.cjs";
|
|
2
|
-
import { ConfigField, ConfigInvalid,
|
|
2
|
+
import { ConfigField, ConfigInvalid, EnvReading } from "@btravstack/config";
|
|
3
3
|
import { EventSink, Level, Logger, LoggerService, Observers } from "@btravstack/core";
|
|
4
4
|
import { Module } from "@btravstack/di";
|
|
5
5
|
//#region src/config.d.ts
|
|
@@ -63,7 +63,7 @@ type ObservabilityOptions = {
|
|
|
63
63
|
* `currentUnit()` per call — so a request's lines are attributable with no
|
|
64
64
|
* argument threaded through the call stack.
|
|
65
65
|
*/
|
|
66
|
-
export declare const observability: (options?: ObservabilityOptions) => Module<Logger | LoggerConfig | Observers, ConfigInvalid,
|
|
66
|
+
export declare const observability: (options?: ObservabilityOptions) => Module<Logger | LoggerConfig | Observers, ConfigInvalid, EnvReading<never, "LOG_LEVEL">>;
|
|
67
67
|
/**
|
|
68
68
|
* The kernel's nine lifecycle events, as log lines on `logger` — the adapter
|
|
69
69
|
* between `StartOptions.onEvent` and an application's own stream.
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as Sink, r as createLogger, t as Line } from "./logger-B1-_76ej.mjs";
|
|
2
|
-
import { ConfigField, ConfigInvalid,
|
|
2
|
+
import { ConfigField, ConfigInvalid, EnvReading } from "@btravstack/config";
|
|
3
3
|
import { EventSink, Level, Logger, LoggerService, Observers } from "@btravstack/core";
|
|
4
4
|
import { Module } from "@btravstack/di";
|
|
5
5
|
//#region src/config.d.ts
|
|
@@ -63,7 +63,7 @@ type ObservabilityOptions = {
|
|
|
63
63
|
* `currentUnit()` per call — so a request's lines are attributable with no
|
|
64
64
|
* argument threaded through the call stack.
|
|
65
65
|
*/
|
|
66
|
-
export declare const observability: (options?: ObservabilityOptions) => Module<Logger | LoggerConfig | Observers, ConfigInvalid,
|
|
66
|
+
export declare const observability: (options?: ObservabilityOptions) => Module<Logger | LoggerConfig | Observers, ConfigInvalid, EnvReading<never, "LOG_LEVEL">>;
|
|
67
67
|
/**
|
|
68
68
|
* The kernel's nine lifecycle events, as log lines on `logger` — the adapter
|
|
69
69
|
* between `StartOptions.onEvent` and an application's own stream.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@btravstack/observability",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Observability for @btravstack/core: a strict Logger port correlated with the kernel's units, a dependency-free JSON sink, and the lifecycle events as log lines",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dependency-injection",
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
"./package.json": "./package.json"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@btravstack/config": "0.
|
|
69
|
-
"@btravstack/core": "0.
|
|
70
|
-
"@btravstack/di": "0.
|
|
71
|
-
"@btravstack/testing": "0.
|
|
68
|
+
"@btravstack/config": "0.27.0",
|
|
69
|
+
"@btravstack/core": "0.27.0",
|
|
70
|
+
"@btravstack/di": "0.27.0",
|
|
71
|
+
"@btravstack/testing": "0.27.0",
|
|
72
72
|
"@btravstack/tsconfig": "0.4.0",
|
|
73
73
|
"@opentelemetry/api": "1.9.1",
|
|
74
74
|
"@opentelemetry/sdk-node": "0.222.0",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"vitest": "5.0.3"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@btravstack/config": "^0.
|
|
87
|
-
"@btravstack/core": "^0.
|
|
88
|
-
"@btravstack/di": "^0.
|
|
86
|
+
"@btravstack/config": "^0.27.0",
|
|
87
|
+
"@btravstack/core": "^0.27.0",
|
|
88
|
+
"@btravstack/di": "^0.27.0",
|
|
89
89
|
"@opentelemetry/api": "^1.9.0",
|
|
90
90
|
"@opentelemetry/sdk-node": "^0.222.0",
|
|
91
91
|
"pino": "^10",
|