@nwire/observability 0.7.0 → 0.7.1
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 +1 -16
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -40,17 +40,7 @@ app.runtime.use(tracingMiddleware());
|
|
|
40
40
|
|
|
41
41
|
## When to use
|
|
42
42
|
|
|
43
|
-
Every production app.
|
|
44
|
-
|
|
45
|
-
## Standalone use
|
|
46
|
-
|
|
47
|
-
For developers using `@nwire/observability` **without the rest of Nwire** — pair it with any TypeScript project, any container, any HTTP framework.
|
|
48
|
-
|
|
49
|
-
```ts
|
|
50
|
-
// See the package's main entry (src/) for the standalone surface.
|
|
51
|
-
// The exports below work without @nwire/app or @nwire/forge.
|
|
52
|
-
import {} from /* ...standalone exports... */ "@nwire/observability";
|
|
53
|
-
```
|
|
43
|
+
Every production app. Pair with `@nwire/telemetry-otel` for OTLP export to Tempo/Honeycomb/Datadog/GreptimeDB.
|
|
54
44
|
|
|
55
45
|
## Within nwire-app
|
|
56
46
|
|
|
@@ -64,8 +54,3 @@ const app = createApp({
|
|
|
64
54
|
});
|
|
65
55
|
// Adapter/plugin wiring happens here when applicable.
|
|
66
56
|
```
|
|
67
|
-
|
|
68
|
-
## See also
|
|
69
|
-
|
|
70
|
-
- [Architecture sketch §05 — Adapters tier](../../architecture-sketch.html#packages)
|
|
71
|
-
- Sibling packages: [@nwire/logger-pino](../nwire-logger-pino), [@nwire/telemetry-otel](../nwire-telemetry-otel)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nwire/observability",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Nwire — dispatch tracing middleware. Logger-backed by default, with optional bridge to @opentelemetry/api (declared by the consumer, not by us).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"middleware",
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
"otel",
|
|
10
10
|
"tracing"
|
|
11
11
|
],
|
|
12
|
+
"license": "MIT",
|
|
12
13
|
"files": [
|
|
13
14
|
"dist",
|
|
14
|
-
"README.md"
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE"
|
|
15
17
|
],
|
|
16
18
|
"type": "module",
|
|
17
19
|
"main": "./dist/observability.js",
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
"access": "public"
|
|
27
29
|
},
|
|
28
30
|
"dependencies": {
|
|
29
|
-
"@nwire/forge": "0.7.
|
|
31
|
+
"@nwire/forge": "0.7.1"
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
32
34
|
"@types/node": "^22.19.9",
|