@sebspark/otel 4.1.15 → 4.1.16

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/CHANGELOG.md ADDED
@@ -0,0 +1,542 @@
1
+ # @sebspark/otel
2
+
3
+ ## 4.1.16
4
+
5
+ ### Patch Changes
6
+
7
+ - 66ac832: * Upgraded to TypeScript 7
8
+ - Replaced tsup with tsdown for package builds
9
+ - Fixed cli-tester stdout parsing, resolving flaky e2e tests across the repo
10
+ - Patched vulnerable transitive dependencies (uuid, socket.io-parser, and others)
11
+ - Updated dependencies [66ac832]
12
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.14
13
+
14
+ ## 4.1.15
15
+
16
+ ### Patch Changes
17
+
18
+ - eefb531: Updated dependencies
19
+ - Updated dependencies [eefb531]
20
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.13
21
+
22
+ ## 4.1.14
23
+
24
+ ### Patch Changes
25
+
26
+ - 5e9fc45: Bump dependencies. Security fixes:
27
+
28
+ - **form-data** 2.5.6 / 4.0.6 — CRLF injection via unescaped multipart field names and filenames (High)
29
+ - **vite** 8.1.2 — `server.fs.deny` bypass on Windows alternate paths; NTLMv2 hash disclosure via launch-editor (High/Moderate)
30
+ - **ws** 8.21.0 — Memory exhaustion DoS from tiny fragments; uninitialized memory disclosure (High/Moderate)
31
+ - **undici** 8.5.0 — Multiple DoS and information disclosure CVEs (High/Moderate/Low)
32
+ - **tar** 7.5.19 — PAX size override causes tar parser differential / file smuggling (Moderate)
33
+ - **qs** 6.15.3 — DoS via `qs.stringify` crash on null/undefined entries (Moderate)
34
+ - **@opentelemetry/core** 2.8.0 — Unbounded memory allocation in W3C Baggage propagation (Moderate)
35
+ - **@babel/core** 7.29.7 — Arbitrary file read via sourceMappingURL comment (Low)
36
+ - **protobufjs** 8.6.5
37
+
38
+ Other dependency updates:
39
+
40
+ - `@google-cloud/spanner` 8.8.0
41
+ - `@testcontainers/*` 12.0.4
42
+ - `google-auth-library` 10.9.0
43
+ - `mockserver-client` 7.3.0
44
+ - `nock` 14.0.16
45
+ - `prettier` 3.9.4
46
+ - `redis` 6.1.0
47
+ - `webpack` 5.108.3 / `webpack-cli` 7.1.0
48
+
49
+ - Updated dependencies [5e9fc45]
50
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.12
51
+
52
+ ## 4.1.13
53
+
54
+ ### Patch Changes
55
+
56
+ - e0eda57: Updated dependencies
57
+ - Updated dependencies [e0eda57]
58
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.11
59
+
60
+ ## 4.1.12
61
+
62
+ ### Patch Changes
63
+
64
+ - 26d55f0: Fix `@sebspark/memredis` so Redis clients are assignable to `IPersistor` by widening the pub/sub subscription return types to accept both MemRedis and node-redis implementations.
65
+
66
+ Also update supporting dependencies across the affected packages.
67
+
68
+ - Updated dependencies [26d55f0]
69
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.10
70
+
71
+ ## 4.1.11
72
+
73
+ ### Patch Changes
74
+
75
+ - a6c27f3: Updated dependencies
76
+ - Updated dependencies [a6c27f3]
77
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.9
78
+
79
+ ## 4.1.10
80
+
81
+ ### Patch Changes
82
+
83
+ - 97fe7da: Updated dependencies
84
+
85
+ ## 4.1.9
86
+
87
+ ### Patch Changes
88
+
89
+ - 264e665: Upgrade `redis` to v6 in `@sebspark/promise-cache` and bump minor dependencies across the workspace.
90
+
91
+ **Breaking change (`@sebspark/promise-cache`):**
92
+ `redis` upgraded from `5.12.1` → `6.0.0`. Redis v6 contains breaking changes in its API — see the [redis v6 migration guide](https://github.com/redis/node-redis/blob/master/docs/v4-to-v6.md) if your code uses the client directly.
93
+
94
+ **Dependency updates across packages:**
95
+ - `testcontainers` / `@testcontainers/*`: `12.0.0` → `12.0.1` (health-check, opensearch, opentelemetry-instrumentation-opensearch, otel, promise-cache, socket.io-gcp-pubsub-emitter, spanner-migrate, test-iap)
96
+ - `redis`: `5.12.1` → `6.0.0` (otel, promise-cache)
97
+ - `tsdown`: `0.22.0` → `0.22.1` (tsconfig)
98
+ - `turbo` / `@turbo/gen`: `2.9.15` → `2.9.16`
99
+ - `webpack-cli`: `7.0.2` → `7.0.3` (avsc-isometric)
100
+
101
+ **Test fix (`@sebspark/promise-cache`):**
102
+ Pinned Redis container image tag to `redis:8.8-alpine` (was `redis:8-alpine`) to prevent floating-tag drift in e2e tests.
103
+
104
+ - Updated dependencies [264e665]
105
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.8
106
+
107
+ ## 4.1.8
108
+
109
+ ### Patch Changes
110
+
111
+ - 242eb33: This release primarily updates dependencies across the listed packages, including:
112
+ - Testcontainers v12 upgrades in packages that run integration/e2e tests.
113
+ - Vitest/Biome/Turbo and related tooling updates.
114
+ - Runtime dependency updates such as `date-fns`, `@inquirer/*`, `socket.io-adapter`, and `ws`.
115
+
116
+ It also includes two targeted fixes:
117
+ - `@sebspark/opensearch`: fixed TypeScript compatibility so strict `SearchRequest<T>` / `SearchRequestBody<T>` can be assigned to OpenSearch API request types, and added a compile-time compatibility test.
118
+ - `@sebspark/health-check`: updated the e2e readiness payload assertions and type-only import usage to match current runtime output and TypeScript expectations.
119
+
120
+ - Updated dependencies [242eb33]
121
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.7
122
+
123
+ ## 4.1.7
124
+
125
+ ### Patch Changes
126
+
127
+ - c5e9c99: Resolve protobufjs CVE by pinning to `8.3.0` across all affected packages via root resolutions. Upgraded OpenTelemetry packages to `0.218.0` (which also eliminates the previous hardpin on `protobufjs@8.0.1`), `axios` to `1.16.1`, `ws` to `8.20.1`, `qs` to `6.15.2`, and `@opentelemetry/semantic-conventions` to `1.41.1`.
128
+ - Updated dependencies [c5e9c99]
129
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.6
130
+
131
+ ## 4.1.6
132
+
133
+ ### Patch Changes
134
+
135
+ - 41bb8f2: ### `@sebspark/openapi-core`
136
+
137
+ `fromAxiosError` no longer references the `AxiosError` type in its signature. It now accepts `unknown` and uses a local duck-typed interface to extract the relevant fields. This removes the `axios` import from the published `dist/index.d.mts`, preventing downstream bundlers (rolldown/tsdown) from treating `AxiosError` as a missing value export.
138
+
139
+ ### `@sebspark/tsconfig`
140
+
141
+ Added `verbatimModuleSyntax: true` to `base.json`. All packages in the monorepo now emit `import type` modifiers correctly and TypeScript enforces type-only imports at typecheck time.
142
+
143
+ ### `@sebspark/openapi-client`
144
+
145
+ Updated `fromAxiosError` call site to pass `error` directly as `unknown` instead of casting to `AxiosError`.
146
+
147
+ ### Other packages
148
+
149
+ Dependency updates.
150
+
151
+ ## 4.1.5
152
+
153
+ ### Patch Changes
154
+
155
+ - a62ddaa: Updated vulnerable dependencies
156
+
157
+ ## 4.1.4
158
+
159
+ ### Patch Changes
160
+
161
+ - cf4ca8e: Export `Filter`, `MethodCall`, `MethodCallBuilder`, and `ResponseCb` from `@sebspark/emulator` so that packages wrapping `createEmulator<T>()` can name the return types in their generated declaration files (fixes TS4023).
162
+
163
+ Dependency updates:
164
+ - `@opentelemetry/*` instrumentation packages: `0.216.0` → `0.217.0`; `instrumentation-undici`: `0.26.0` → `0.27.0`; resource detectors, individual instrumentations bumped to latest patch/minor releases
165
+ - `@google-cloud/spanner`: `8.7.0` → `8.7.1`
166
+ - `fast-xml-parser`: `5.7.2` → `5.7.3`
167
+ - Dev: `turbo` `2.9.8` → `2.9.9`, `knip` `6.11.0` → `6.12.0`, `syncpack` `14.3.1` → `15.0.0`
168
+
169
+ - Updated dependencies [cf4ca8e]
170
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.5
171
+
172
+ ## 4.1.3
173
+
174
+ ### Patch Changes
175
+
176
+ - 7d8cc98: Dependabot dependency updates
177
+ - Updated dependencies [7d8cc98]
178
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.4
179
+
180
+ ## 4.1.2
181
+
182
+ ### Patch Changes
183
+
184
+ - 8a120f6: Updated dependencies for all and docs for emulator
185
+ - Updated dependencies [8a120f6]
186
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.3
187
+
188
+ ## 4.1.1
189
+
190
+ ### Patch Changes
191
+
192
+ - e9a7a28: Updated dependencies
193
+ - Updated dependencies [e9a7a28]
194
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.2
195
+
196
+ ## 4.1.0
197
+
198
+ ### Minor Changes
199
+
200
+ - 7494311: Allow consumers to use the SimpleSpanProcessor when needed.
201
+
202
+ ## 4.0.1
203
+
204
+ ### Patch Changes
205
+
206
+ - 4124516: Updated dependencies
207
+ - 4e12590: Updated dependencies
208
+ - Updated dependencies [4e12590]
209
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.1
210
+
211
+ ## 4.0.0
212
+
213
+ ### Major Changes
214
+
215
+ - f07a679: Instrumentations are now methods and accept config
216
+
217
+ ## 3.0.4
218
+
219
+ ### Patch Changes
220
+
221
+ - aff5f58: Updated dependencies
222
+
223
+ ## 3.0.3
224
+
225
+ ### Patch Changes
226
+
227
+ - ae4b9bf: OTEL only tries to shut down once
228
+
229
+ ## 3.0.2
230
+
231
+ ### Patch Changes
232
+
233
+ - Updated dependencies [f202dc3]
234
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.0
235
+
236
+ ## 3.0.1
237
+
238
+ ### Patch Changes
239
+
240
+ - 22bde73: Opensearch instrumentation does not call through to http instrumentation
241
+
242
+ ## 3.0.0
243
+
244
+ ### Major Changes
245
+
246
+ - 91aed80: Added instrumentation for outgoing http requests and removed SIGTERM listener
247
+
248
+ ### Patch Changes
249
+
250
+ - Updated dependencies [91aed80]
251
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.2.2
252
+
253
+ ## 2.2.3
254
+
255
+ ### Patch Changes
256
+
257
+ - Updated dependencies [cd9e760]
258
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.2.1
259
+
260
+ ## 2.2.2
261
+
262
+ ### Patch Changes
263
+
264
+ - Updated dependencies [b92b79a]
265
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.2.0
266
+
267
+ ## 2.2.1
268
+
269
+ ### Patch Changes
270
+
271
+ - Updated dependencies [67d6129]
272
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.1.1
273
+
274
+ ## 2.2.0
275
+
276
+ ### Minor Changes
277
+
278
+ - 3d2415a: Added instrumentation for opensearch
279
+
280
+ ## 2.1.8
281
+
282
+ ### Patch Changes
283
+
284
+ - 67871de: Otel now warns on stdout. Also dependency updates.
285
+
286
+ ## 2.1.7
287
+
288
+ ### Patch Changes
289
+
290
+ - 736a0b3: No bundling of packages in packages
291
+
292
+ ## 2.1.6
293
+
294
+ ### Patch Changes
295
+
296
+ - 5e9294e: chore: use global variables to store otel initialization
297
+
298
+ ## 2.1.5
299
+
300
+ ### Patch Changes
301
+
302
+ - 23be838: chore: change k8s logs format
303
+
304
+ ## 2.1.4
305
+
306
+ ### Patch Changes
307
+
308
+ - 6cf0475: chore: format service name, remove wrong characters
309
+
310
+ ## 2.1.3
311
+
312
+ ### Patch Changes
313
+
314
+ - 8cd0201: Fix for OTEL not initialized spam and double span.end()
315
+
316
+ ## 2.1.2
317
+
318
+ ### Patch Changes
319
+
320
+ - 1c13543: add missing attribute gcp.log_name
321
+
322
+ ## 2.1.1
323
+
324
+ ### Patch Changes
325
+
326
+ - 1485c2d: Changed warning level text from WARNING to WARN
327
+
328
+ ## 2.1.0
329
+
330
+ ### Minor Changes
331
+
332
+ - c60b7a4: chore: change logs formatting
333
+
334
+ ## 2.0.14
335
+
336
+ ### Patch Changes
337
+
338
+ - 2241dc7: Updated dependencies
339
+
340
+ ## 2.0.13
341
+
342
+ ### Patch Changes
343
+
344
+ - 80e6230: Updated dependencies
345
+
346
+ ## 2.0.12
347
+
348
+ ### Patch Changes
349
+
350
+ - c8dcadb: Updated dependencies
351
+
352
+ ## 2.0.11
353
+
354
+ ### Patch Changes
355
+
356
+ - 11a11ce: Updated dependencies
357
+
358
+ ## 2.0.9
359
+
360
+ ### Patch Changes
361
+
362
+ - 48ab717: Updated dependencies
363
+
364
+ ## 2.0.8
365
+
366
+ ### Patch Changes
367
+
368
+ - e0cb5ee: Updated build from tsup to tsdown
369
+
370
+ ## 2.0.7
371
+
372
+ ### Patch Changes
373
+
374
+ - 8626deb: Updated vulnerable, transitive jws dependency
375
+
376
+ ## 2.0.6
377
+
378
+ ### Patch Changes
379
+
380
+ - 7df8217: Updated dependencies
381
+
382
+ ## 2.0.5
383
+
384
+ ### Patch Changes
385
+
386
+ - 4b210c2: Standardized on a common build script
387
+
388
+ ## 2.0.4
389
+
390
+ ### Patch Changes
391
+
392
+ - 618a019: Dynamically imported instrumentations
393
+
394
+ ## 2.0.3
395
+
396
+ ### Patch Changes
397
+
398
+ - eb99a27: Marked opentelemetry dependencies as external
399
+
400
+ ## 2.0.2
401
+
402
+ ### Patch Changes
403
+
404
+ - 7e5c2e9: Switched to new tsconfig with moduleResolution=bundler
405
+
406
+ ## 2.0.1
407
+
408
+ ### Patch Changes
409
+
410
+ - d801e1e: Updated dependencies and fixed some exports
411
+
412
+ ## 2.0.0
413
+
414
+ ### Major Changes
415
+
416
+ - 0864ec2: ESM only. Minimum node version 22
417
+
418
+ ## 1.1.4
419
+
420
+ ### Patch Changes
421
+
422
+ - 3a40e49: Cleaned up dependencies
423
+
424
+ ## 1.1.3
425
+
426
+ ### Patch Changes
427
+
428
+ - 604c94a: Updated dependencies
429
+
430
+ ## 1.1.2
431
+
432
+ ### Patch Changes
433
+
434
+ - b8fe201: SpanStatusCode is exported as a value, not a type
435
+
436
+ ## 1.1.1
437
+
438
+ ### Patch Changes
439
+
440
+ - b86cf2d: Instrumentation warnings are now supressed during testing
441
+
442
+ ## 1.1.0
443
+
444
+ ### Minor Changes
445
+
446
+ - a8ba986: OTEL exports usable types
447
+
448
+ ## 1.0.5
449
+
450
+ ### Patch Changes
451
+
452
+ - 90fa604: Changed initialization handling in logger to solve OTEL fail spam
453
+
454
+ ## 1.0.4
455
+
456
+ ### Patch Changes
457
+
458
+ - 63fc64a: tracer and meter no longer throw before initialization
459
+
460
+ ## 1.0.3
461
+
462
+ ### Patch Changes
463
+
464
+ - 0e4d66b: Logger swallows messages before initialization
465
+
466
+ ## 1.0.2
467
+
468
+ ### Patch Changes
469
+
470
+ - 4b1337a: Disabling context before initialize
471
+
472
+ ## 1.0.1
473
+
474
+ ### Patch Changes
475
+
476
+ - c360c99: Init check is moved to first log call instead of at getLogger()
477
+
478
+ ## 1.0.0
479
+
480
+ ### Major Changes
481
+
482
+ - d361253: OTEL instrumentation now requires initialize and specific instrumentations
483
+
484
+ ## 0.4.2
485
+
486
+ ### Patch Changes
487
+
488
+ - d323365: Change error function to be able to receive an error object as parameter
489
+
490
+ ## 0.4.0
491
+
492
+ ### Minor Changes
493
+
494
+ - 0dc99f6: Console logger is added if LOG_LEVEL is set, even if collector exists
495
+
496
+ ## 0.3.1
497
+
498
+ ### Patch Changes
499
+
500
+ - fc781e2: Switched places for spanId/traceId
501
+
502
+ ## 0.3.0
503
+
504
+ ### Minor Changes
505
+
506
+ - 2a7b207: Added span and trace id to span logs
507
+
508
+ ## 0.2.4
509
+
510
+ ### Patch Changes
511
+
512
+ - 2c32898: Fixed wrongful options copy for span with parent
513
+
514
+ ## 0.2.3
515
+
516
+ ### Patch Changes
517
+
518
+ - 0288531: Tracer and Meter are asynch and Logger awaits init
519
+
520
+ ## 0.2.2
521
+
522
+ ### Patch Changes
523
+
524
+ - 005c598: Removed manual context registration
525
+
526
+ ## 0.2.1
527
+
528
+ ### Patch Changes
529
+
530
+ - ac28d06: No duplicate contextManager
531
+
532
+ ## 0.2.0
533
+
534
+ ### Minor Changes
535
+
536
+ - cc889fb: Added custom loggers for dev use
537
+
538
+ ## 0.1.0
539
+
540
+ ### Minor Changes
541
+
542
+ - 3007f53: First, simple implementation of OTEL instrumentation
package/dist/index.d.mts CHANGED
@@ -10,7 +10,7 @@ import { OpenSearchInstrumentationConfig } from "@sebspark/opentelemetry-instrum
10
10
  import "@opentelemetry/instrumentation-http";
11
11
  import "@opentelemetry/instrumentation-undici";
12
12
  //#region src/enrichments/outgoing-http/consts.d.ts
13
- declare const PROTOCOLS: readonly ["https", "http"];
13
+ declare const PROTOCOLS: readonly ['https', 'http'];
14
14
  //#endregion
15
15
  //#region src/enrichments/outgoing-http/types.d.ts
16
16
  type Protocol = (typeof PROTOCOLS)[number];
@@ -51,7 +51,7 @@ interface OutgoingHttpEnrichmentConfig extends InstrumentationConfig {
51
51
  }
52
52
  //#endregion
53
53
  //#region src/instrumentations.d.ts
54
- declare const instrumentations: {
54
+ export declare const instrumentations: {
55
55
  readonly http: (config?: OutgoingHttpEnrichmentConfig) => Promise<Instrumentation<InstrumentationConfig>>;
56
56
  readonly express: (config?: ExpressInstrumentationConfig) => Promise<Instrumentation<InstrumentationConfig>>;
57
57
  readonly grpc: (config?: GrpcInstrumentationConfig) => Promise<Instrumentation<InstrumentationConfig>>;
@@ -66,8 +66,8 @@ declare const instrumentations: {
66
66
  //#endregion
67
67
  //#region src/logger.d.ts
68
68
  type Attrs = Record<string, any>;
69
- type Logger = ReturnType<typeof getLogger>;
70
- declare function getLogger(serviceOverride?: string, extraAttrs?: Attrs): {
69
+ export type Logger = ReturnType<typeof getLogger>;
70
+ export declare function getLogger(serviceOverride?: string, extraAttrs?: Attrs): {
71
71
  debug: {
72
72
  (msg: string, attrs?: Attrs): void;
73
73
  (msg: string, error: Error, attrs?: Attrs): void;
@@ -111,12 +111,12 @@ declare function getLogger(serviceOverride?: string, extraAttrs?: Attrs): {
111
111
  };
112
112
  //#endregion
113
113
  //#region src/metrics.d.ts
114
- declare function getMeter(componentNameOverride?: string): import("@opentelemetry/api").Meter;
114
+ export declare function getMeter(componentNameOverride?: string): import("@opentelemetry/api").Meter;
115
115
  //#endregion
116
116
  //#region src/otel.d.ts
117
- declare function initialize(...instrumentations: Promise<Instrumentation>[]): Promise<void>;
118
- declare function isInitialized(): boolean;
119
- declare const dispose: () => Promise<void>;
117
+ export declare function initialize(...instrumentations: Promise<Instrumentation>[]): Promise<void>;
118
+ export declare function isInitialized(): boolean;
119
+ export declare const dispose: () => Promise<void>;
120
120
  //#endregion
121
121
  //#region src/tracer.d.ts
122
122
  type OtelTracer = ReturnType<typeof trace.getTracer>;
@@ -149,7 +149,7 @@ interface Tracer extends OtelTracer {
149
149
  * @param serviceOverride - Optional override for service name
150
150
  * @returns Tracer with helpers
151
151
  */
152
- declare function getTracer(componentNameOverride?: string): Tracer;
152
+ export declare function getTracer(componentNameOverride?: string): Tracer;
153
153
  //#endregion
154
- export { type Context, type Counter, type Gauge, type Histogram, Logger, type Meter, type ObservableCounter, type ObservableGauge, type ObservableUpDownCounter, type Span, type SpanStatus, SpanStatusCode, type UpDownCounter, context, dispose, getLogger, getMeter, getTracer, initialize, instrumentations, isInitialized };
154
+ export { type Context, type Counter, type Gauge, type Histogram, type Meter, type ObservableCounter, type ObservableGauge, type ObservableUpDownCounter, type Span, type SpanStatus, SpanStatusCode, type UpDownCounter, context };
155
155
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/enrichments/outgoing-http/consts.ts","../src/enrichments/outgoing-http/types.ts","../src/instrumentations.ts","../src/logger.ts","../src/metrics.ts","../src/otel.ts","../src/tracer.ts"],"mappings":";;;;;;;;;;;;cA0Ba;;;KCtBD,mBAAmB;UASd;EACf;EACA;EACA;;EAEA;EACA,UAAU;;EAEV,UAAU;;UAeK,qCAAqC;;;;;EAKpD;;EAGA;;;;;;EAOA,cAAc,MAAM,QAAM,SAAS;;;;;EAMnC;;;;;EAMA;;;;cCpCW;WACG,OAAA,SAAA,iCAA4B,QAAA,gBAAA;WAezB,UAAA,SAAA,iCAA4B,QAAA,gBAAA;WAc/B,OAAA,SAAA,8BAAyB,QAAA,gBAAA;WAcxB,QAAA,SAAA,+BAA0B,QAAA,gBAAA;WAc5B,MAAA,SAAA,6BAAwB,QAAA,gBAAA;WAcxB,MAAA,SAAA,0BAAqB,QAAA,gBAAA;WActB,KAAA,SAAA,4BAAuB,QAAA,gBAAA;WAcnB,SAAA,SAAA,iCAA4B,QAAA,gBAAA;WAe1B,WAAA,SAAA,kCAA6B,QAAA,gBAAA;WAc3B,aAAA,SAAA,oCAA+B,QAAA,gBAAA;;;;KCrJhD,QAAQ;KAED,SAAS,kBAAkB;iBACvB,UAAU,0BAA0B,aAAY;;KAiEtD,aAAM,QAAU;KAChB,aAAM,OAAS,OAAK,QAAU;KAC5B,OAAA,OAAK,QAAU;;;KAFjB,aAAM,QAAU;KAChB,aAAM,OAAS,OAAK,QAAU;KAC5B,OAAA,OAAK,QAAU;;;KAFjB,aAAM,QAAU;KAChB,aAAM,OAAS,OAAK,QAAU;KAC5B,OAAA,OAAK,QAAU;;;KAFjB,aAAM,QAAU;KAChB,aAAM,OAAS,OAAK,QAAU;KAC5B,OAAA,OAAK,QAAU;;;KAFjB,aAAM,QAAU;KAChB,aAAM,OAAS,OAAK,QAAU;KAC5B,OAAA,OAAK,QAAU;;;KAFjB,aAAM,QAAU;KAChB,aAAM,OAAS,OAAK,QAAU;KAC5B,OAAA,OAAK,QAAU;;;KAFjB,aAAM,QAAU;KAChB,aAAM,OAAS,OAAK,QAAU;KAC5B,OAAA,OAAK,QAAU;;;KAFjB,aAAM,QAAU;KAChB,aAAM,OAAS,OAAK,QAAU;KAC5B,OAAA,OAAK,QAAU;;;;;iBCzEX,SAAS,8DAA8B;;;iBC0BjC,cACjB,kBAAkB,QAAQ,qBAAkB;iBAejC;cAsCH,eAAO;;;KC3Ef,aAAa,kBAAkB,MAAM;KACrC,SAAO,WAAW;KAElB,KAAK,MAAM,MAAM,WAAS,QAAQ,KAAK;KACvC,SAAS,MAAM,MAAM,WAAS;KAE9B;GACF,GAAG,cAAc,IAAI,KAAK,KAAK,QAAQ;GACvC,GAAG,cAAc,SAAS,aAAa,IAAI,KAAK,KAAK,QAAQ;GAC7D,GAAG,cAAc,QAAQ,QAAM,IAAI,KAAK,KAAK,QAAQ;GACrD,GAAG,cAAc,SAAS,aAAa,QAAQ,QAAM,IAAI,KAAK,KAAK,QAAQ;;KAEzE;GACF,GAAG,cAAc,IAAI,SAAS,KAAK;GACnC,GAAG,cAAc,SAAS,aAAa,IAAI,SAAS,KAAK;GACzD,GAAG,cAAc,QAAQ,QAAM,IAAI,SAAS,KAAK;GACjD,GAAG,cAAc,SAAS,aAAa,QAAQ,QAAM,IAAI,SAAS,KAAK;;;;;UAMhE,eAAe;EACvB,WAAW;EACX,eAAe;;;;;;;;;iBAUD,UAAU,iCAAiC"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/enrichments/outgoing-http/consts.ts","../src/enrichments/outgoing-http/types.ts","../src/instrumentations.ts","../src/logger.ts","../src/metrics.ts","../src/otel.ts","../src/tracer.ts"],"mappings":";;;;;;;;;;;;cA0Ba;;;KCtBD,mBAAmB;UASd;EACf;EACA;EACA;;EAEA;EACA,UAAU;;EAEV,UAAU;;UAeK,qCAAqC;;;;;EAKpD;;EAGA;;;;;;EAOA,cAAc,MAAM,QAAM,SAAS;;;;;EAMnC;;;;;EAMA;;;;qBCpCW;WACX,OAAI,SAAU,iCAA4B,QAAA,gBAAA;WAe1C,UAAO,SAAU,iCAA4B,QAAA,gBAAA;WAc7C,OAAI,SAAU,8BAAyB,QAAA,gBAAA;WAcvC,QAAK,SAAU,+BAA0B,QAAA,gBAAA;WAczC,MAAG,SAAU,6BAAwB,QAAA,gBAAA;WAcrC,MAAG,SAAU,0BAAqB,QAAA,gBAAA;WAclC,KAAE,SAAU,4BAAuB,QAAA,gBAAA;WAcnC,SAAM,SAAU,iCAA4B,QAAA,gBAAA;WAe5C,WAAQ,SAAU,kCAA6B,QAAA,gBAAA;WAc/C,aAAU,SAAU,oCAA+B,QAAA,gBAAA;;;;KCrJhD,QAAQ;YAED,SAAS,kBAAkB;wBACvB,UAAU,0BAA0B,aAAY;EAkF5D;KAjBM,aAAM,QAAU;KAChB,aAAM,OAAS,OAAK,QAAU;KAC5B,OAAA,OAAK,QAAU;;EAgBvB;;;;;EACA;;;;;EACA;;;;;EACA;;;;;EACA;;;;;EACA;;;;;EACA;;;;;;;;wBC/FY,SAAS,8DAA8B;;;wBC0BjC,cACjB,kBAAkB,QAAQ,qBAAkB;wBAejC;qBAsCH,eAAO;;;KC3Ef,aAAa,kBAAkB,MAAM;KACrC,SAAO,WAAW;KAElB,KAAK,MAAM,MAAM,WAAS,QAAQ,KAAK;KACvC,SAAS,MAAM,MAAM,WAAS;KAE9B;GACF,GAAG,cAAc,IAAI,KAAK,KAAK,QAAQ;GACvC,GAAG,cAAc,SAAS,aAAa,IAAI,KAAK,KAAK,QAAQ;GAC7D,GAAG,cAAc,QAAQ,QAAM,IAAI,KAAK,KAAK,QAAQ;GACrD,GAAG,cAAc,SAAS,aAAa,QAAQ,QAAM,IAAI,KAAK,KAAK,QAAQ;;KAEzE;GACF,GAAG,cAAc,IAAI,SAAS,KAAK;GACnC,GAAG,cAAc,SAAS,aAAa,IAAI,SAAS,KAAK;GACzD,GAAG,cAAc,QAAQ,QAAM,IAAI,SAAS,KAAK;GACjD,GAAG,cAAc,SAAS,aAAa,QAAQ,QAAM,IAAI,SAAS,KAAK;;;;;UAMhE,eAAe;EACvB,WAAW;EACX,eAAe;;;;;;;;;wBAUD,UAAU,iCAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/otel",
3
- "version": "4.1.15",
3
+ "version": "4.1.16",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -20,54 +20,59 @@
20
20
  "lint": "biome check .",
21
21
  "test": "vitest run --passWithNoTests --coverage",
22
22
  "test:e2e": "vitest --config vitest.config.e2e.ts --run",
23
- "typecheck": "vitest --typecheck.only --passWithNoTests"
23
+ "typecheck": "vitest --typecheck.only --passWithNoTests --run"
24
24
  },
25
25
  "dependencies": {
26
26
  "@opentelemetry/api": "1.9.1",
27
- "@opentelemetry/api-logs": "0.221.0",
28
- "@opentelemetry/core": "2.10.0",
29
- "@opentelemetry/exporter-logs-otlp-http": "0.221.0",
30
- "@opentelemetry/exporter-metrics-otlp-http": "0.221.0",
31
- "@opentelemetry/exporter-trace-otlp-http": "0.221.0",
32
- "@opentelemetry/instrumentation": "0.221.0",
33
- "@opentelemetry/instrumentation-dns": "0.64.0",
34
- "@opentelemetry/instrumentation-express": "0.69.0",
35
- "@opentelemetry/instrumentation-fs": "0.40.0",
36
- "@opentelemetry/instrumentation-grpc": "0.221.0",
37
- "@opentelemetry/instrumentation-http": "0.221.0",
38
- "@opentelemetry/instrumentation-net": "0.65.0",
39
- "@opentelemetry/instrumentation-redis": "0.69.0",
40
- "@opentelemetry/instrumentation-socket.io": "0.68.0",
41
- "@opentelemetry/instrumentation-undici": "0.31.0",
42
- "@opentelemetry/resource-detector-container": "0.8.12",
43
- "@opentelemetry/resource-detector-gcp": "0.56.0",
44
- "@opentelemetry/resources": "2.10.0",
45
- "@opentelemetry/sdk-logs": "0.221.0",
46
- "@opentelemetry/sdk-metrics": "2.10.0",
47
- "@opentelemetry/sdk-node": "0.221.0",
48
- "@opentelemetry/sdk-trace-node": "2.10.0",
27
+ "@opentelemetry/api-logs": "0.222.0",
28
+ "@opentelemetry/core": "2.11.0",
29
+ "@opentelemetry/exporter-logs-otlp-http": "0.222.0",
30
+ "@opentelemetry/exporter-metrics-otlp-http": "0.222.0",
31
+ "@opentelemetry/exporter-trace-otlp-http": "0.222.0",
32
+ "@opentelemetry/instrumentation": "0.222.0",
33
+ "@opentelemetry/instrumentation-dns": "0.65.0",
34
+ "@opentelemetry/instrumentation-express": "0.70.0",
35
+ "@opentelemetry/instrumentation-fs": "0.41.0",
36
+ "@opentelemetry/instrumentation-grpc": "0.222.0",
37
+ "@opentelemetry/instrumentation-http": "0.222.0",
38
+ "@opentelemetry/instrumentation-net": "0.66.0",
39
+ "@opentelemetry/instrumentation-redis": "0.70.0",
40
+ "@opentelemetry/instrumentation-socket.io": "0.69.0",
41
+ "@opentelemetry/instrumentation-undici": "0.32.0",
42
+ "@opentelemetry/resource-detector-container": "0.8.13",
43
+ "@opentelemetry/resource-detector-gcp": "0.57.0",
44
+ "@opentelemetry/resources": "2.11.0",
45
+ "@opentelemetry/sdk-logs": "0.222.0",
46
+ "@opentelemetry/sdk-metrics": "2.11.0",
47
+ "@opentelemetry/sdk-node": "0.222.0",
48
+ "@opentelemetry/sdk-trace-node": "2.11.0",
49
49
  "@opentelemetry/semantic-conventions": "1.43.0",
50
- "@sebspark/opentelemetry-instrumentation-opensearch": "0.3.13",
50
+ "@sebspark/opentelemetry-instrumentation-opensearch": "0.3.14",
51
51
  "fast-safe-stringify": "2.1.1",
52
52
  "kleur": "4.1.5",
53
53
  "yaml": "2.9.0"
54
54
  },
55
55
  "devDependencies": {
56
+ "@biomejs/biome": "2.5.12",
56
57
  "@opensearch-project/opensearch": "3.6.0",
57
- "@opentelemetry/context-async-hooks": "2.10.0",
58
+ "@opentelemetry/context-async-hooks": "2.11.0",
59
+ "@sebspark/tsconfig": "*",
58
60
  "@testcontainers/opensearch": "12.1.0",
59
61
  "@testcontainers/redis": "12.1.0",
60
- "axios": "1.19.0",
62
+ "axios": "1.20.0",
61
63
  "express": "5.2.1",
62
64
  "find-free-ports": "3.1.1",
63
- "redis": "6.2.0",
64
- "undici": "8.10.0"
65
+ "redis": "6.2.1",
66
+ "typescript": "7.0.2",
67
+ "undici": "8.10.2",
68
+ "vite": "8.2.2",
69
+ "vitest": "5.0.0"
65
70
  },
66
71
  "resolutions": {
67
- "protobufjs": "8.6.5"
72
+ "protobufjs": "8.8.0"
68
73
  },
69
74
  "repository": {
70
75
  "type": "git",
71
76
  "url": "https://github.com/seb-oss/Spark-packages.git"
72
77
  }
73
- }
78
+ }