@upyo/opentelemetry 0.4.0 → 0.5.0-dev.81
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 +11 -10
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,10 +14,10 @@ existing code. It follows the decorator pattern, accepting any transport and
|
|
|
14
14
|
adding standardized observability features including email delivery metrics,
|
|
15
15
|
latency histograms, error classification, and distributed tracing support.
|
|
16
16
|
|
|
17
|
-
[JSR]: https://jsr.io/@upyo/opentelemetry
|
|
18
17
|
[JSR badge]: https://jsr.io/badges/@upyo/opentelemetry
|
|
19
|
-
[
|
|
18
|
+
[JSR]: https://jsr.io/@upyo/opentelemetry
|
|
20
19
|
[npm badge]: https://img.shields.io/npm/v/@upyo/opentelemetry?logo=npm
|
|
20
|
+
[npm]: https://www.npmjs.com/package/@upyo/opentelemetry
|
|
21
21
|
[Upyo]: https://upyo.org/
|
|
22
22
|
|
|
23
23
|
|
|
@@ -31,7 +31,7 @@ Features
|
|
|
31
31
|
- Distributed tracing: Automatic span creation with semantic attributes
|
|
32
32
|
following OpenTelemetry conventions
|
|
33
33
|
- Error classification: Intelligent categorization of email delivery failures
|
|
34
|
-
(auth,
|
|
34
|
+
(auth, rate\_limit, network, etc.)
|
|
35
35
|
- Performance optimized: Configurable sampling rates and feature toggles for
|
|
36
36
|
minimal overhead
|
|
37
37
|
- Cross-runtime compatible: Works on Node.js, Deno, Bun, and edge functions
|
|
@@ -144,9 +144,10 @@ try {
|
|
|
144
144
|
|
|
145
145
|
**Disposal Priority:**
|
|
146
146
|
|
|
147
|
-
1.
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
1. If wrapped transport supports `AsyncDisposable` → calls
|
|
148
|
+
`[Symbol.asyncDispose]()`
|
|
149
|
+
2. If wrapped transport supports `Disposable` → calls `[Symbol.dispose]()`
|
|
150
|
+
3. If wrapped transport supports neither → no-op (no error thrown)
|
|
150
151
|
|
|
151
152
|
|
|
152
153
|
Configuration
|
|
@@ -426,10 +427,10 @@ Cross-Runtime Compatibility
|
|
|
426
427
|
|
|
427
428
|
This package works across all JavaScript runtimes:
|
|
428
429
|
|
|
429
|
-
-
|
|
430
|
-
-
|
|
431
|
-
-
|
|
432
|
-
-
|
|
430
|
+
- **Node.js**: Full OpenTelemetry ecosystem support
|
|
431
|
+
- **Deno**: Native ESM and web standards compatibility
|
|
432
|
+
- **Bun**: High-performance runtime optimizations
|
|
433
|
+
- **Edge functions**: Minimal overhead for serverless environments
|
|
433
434
|
|
|
434
435
|
Resource cleanup is handled automatically via `AsyncDisposable` when supported:
|
|
435
436
|
|
package/dist/index.cjs
CHANGED
|
@@ -116,7 +116,7 @@ function defaultErrorClassifier(error) {
|
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region package.json
|
|
118
118
|
var name = "@upyo/opentelemetry";
|
|
119
|
-
var version = "0.
|
|
119
|
+
var version = "0.5.0-dev.81+b3482a5e";
|
|
120
120
|
var description = "OpenTelemetry observability transport for Upyo email library";
|
|
121
121
|
var keywords = [
|
|
122
122
|
"email",
|
package/dist/index.js
CHANGED
|
@@ -93,7 +93,7 @@ function defaultErrorClassifier(error) {
|
|
|
93
93
|
//#endregion
|
|
94
94
|
//#region package.json
|
|
95
95
|
var name = "@upyo/opentelemetry";
|
|
96
|
-
var version = "0.
|
|
96
|
+
var version = "0.5.0-dev.81+b3482a5e";
|
|
97
97
|
var description = "OpenTelemetry observability transport for Upyo email library";
|
|
98
98
|
var keywords = [
|
|
99
99
|
"email",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upyo/opentelemetry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0-dev.81+b3482a5e",
|
|
4
4
|
"description": "OpenTelemetry observability transport for Upyo email library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"email",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"sideEffects": false,
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@opentelemetry/api": "^1.9.0",
|
|
61
|
-
"@upyo/core": "0.
|
|
61
|
+
"@upyo/core": "0.5.0-dev.81+b3482a5e"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@dotenvx/dotenvx": "^1.47.3",
|