autotel-plugins 0.16.0 → 0.18.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/README.md +2 -2
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -309,8 +309,8 @@ Composition layer for KafkaJS: processing span wrapper, producer span wrapper, b
|
|
|
309
309
|
|
|
310
310
|
**Per-message spans:**
|
|
311
311
|
|
|
312
|
-
- **`'all'`**
|
|
313
|
-
- **`'errors'`**
|
|
312
|
+
- **`'all'`** : One span per message. Message spans are parented to **extracted trace context from message headers when valid** (trace continuation); otherwise to the **batch span**. All per-message spans are ended when the batch completes, including skipped or unresolved messages (no span leak).
|
|
313
|
+
- **`'errors'`** : Per-message span only on failure. When the handler throws, an error span is created for the first message. Use `createMessageErrorSpan` in your catch block for per-message error spans.
|
|
314
314
|
|
|
315
315
|
```typescript
|
|
316
316
|
import { withBatchConsumer } from 'autotel-plugins/kafka';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autotel-plugins",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "OpenTelemetry instrumentation for libraries without official support (Drizzle ORM, Mongoose, BigQuery)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -73,15 +73,15 @@
|
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@opentelemetry/api": "^1.9.0",
|
|
75
75
|
"@opentelemetry/instrumentation": "^0.212.0",
|
|
76
|
-
"@opentelemetry/semantic-conventions": "^1.
|
|
77
|
-
"autotel": "2.
|
|
76
|
+
"@opentelemetry/semantic-conventions": "^1.40.0",
|
|
77
|
+
"autotel": "2.23.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"@google-cloud/bigquery": ">=8.1.1",
|
|
81
81
|
"@opentelemetry/instrumentation-amqplib": ">=0.59.0",
|
|
82
82
|
"@opentelemetry/instrumentation-kafkajs": ">=0.21.0",
|
|
83
83
|
"drizzle-orm": ">=0.45.1",
|
|
84
|
-
"mongoose": ">=9.2.
|
|
84
|
+
"mongoose": ">=9.2.3"
|
|
85
85
|
},
|
|
86
86
|
"peerDependenciesMeta": {
|
|
87
87
|
"drizzle-orm": {
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
105
105
|
"@google-cloud/bigquery": "^8.1.1",
|
|
106
106
|
"@opentelemetry/core": "^2.5.1",
|
|
107
|
-
"mongoose": "^9.2.
|
|
108
|
-
"@types/node": "^25.3.
|
|
107
|
+
"mongoose": "^9.2.3",
|
|
108
|
+
"@types/node": "^25.3.3",
|
|
109
109
|
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
110
110
|
"@typescript-eslint/parser": "^8.56.1",
|
|
111
111
|
"drizzle-orm": "^0.45.1",
|