@mark1russell7/otel-ts 0.10.3 → 0.10.4
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 -1
- package/package.json +1 -7
package/README.md
CHANGED
|
@@ -555,7 +555,7 @@ export const telemetry = startNodeContext({
|
|
|
555
555
|
|
|
556
556
|
### A service of `@mark1russell7/service`
|
|
557
557
|
|
|
558
|
-
A service of [`@mark1russell7/service`](https://github.com/
|
|
558
|
+
A service of [`@mark1russell7/service`](https://github.com/metrograph-labs/systems/tree/main/packages/service) has a staged shutdown of its own: after the signal, it drains its requests. The stop of telemetry must come after the drain. With `stopOnSignals: true`, the stop removes the context at the signal: the log lines of the drain lose their trace ids, and the spans of the drained requests go. So:
|
|
559
559
|
|
|
560
560
|
1. Start telemetry with `stopOnSignals: false`, in the module that the service loads first.
|
|
561
561
|
2. Give `telemetry.shutdown` to the last stage of the shutdown, `flush the output`.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@mark1russell7/otel-ts",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.4",
|
|
5
5
|
"description": "Frontend observability in one init() call — OpenTelemetry + Grafana Faro for any TypeScript web app",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Mark Russell (https://github.com/mark1russell7)",
|
|
@@ -147,12 +147,6 @@
|
|
|
147
147
|
"baseline": 2,
|
|
148
148
|
"failFrom": "2026-12-23",
|
|
149
149
|
"reason": "Wave 2 of the no-console plan: src has 2 console calls. A new call fails at once, and the last ones fail from 2026-12-23."
|
|
150
|
-
},
|
|
151
|
-
"typed-scripts": {
|
|
152
|
-
"ignore": [
|
|
153
|
-
"bench/*.mjs"
|
|
154
|
-
],
|
|
155
|
-
"reason": "The memory bench (bench/*.mjs) moves to TypeScript with its own types and test in a later change. A new script must be TypeScript."
|
|
156
150
|
}
|
|
157
151
|
}
|
|
158
152
|
},
|