@sebspark/otel 4.1.15 → 4.1.17

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,550 @@
1
+ # @sebspark/otel
2
+
3
+ ## 4.1.17
4
+
5
+ ### Patch Changes
6
+
7
+ - 9f44fbd: Updated dependencies
8
+ - Updated dependencies [9f44fbd]
9
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.15
10
+
11
+ ## 4.1.16
12
+
13
+ ### Patch Changes
14
+
15
+ - 66ac832: * Upgraded to TypeScript 7
16
+ - Replaced tsup with tsdown for package builds
17
+ - Fixed cli-tester stdout parsing, resolving flaky e2e tests across the repo
18
+ - Patched vulnerable transitive dependencies (uuid, socket.io-parser, and others)
19
+ - Updated dependencies [66ac832]
20
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.14
21
+
22
+ ## 4.1.15
23
+
24
+ ### Patch Changes
25
+
26
+ - eefb531: Updated dependencies
27
+ - Updated dependencies [eefb531]
28
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.13
29
+
30
+ ## 4.1.14
31
+
32
+ ### Patch Changes
33
+
34
+ - 5e9fc45: Bump dependencies. Security fixes:
35
+
36
+ - **form-data** 2.5.6 / 4.0.6 — CRLF injection via unescaped multipart field names and filenames (High)
37
+ - **vite** 8.1.2 — `server.fs.deny` bypass on Windows alternate paths; NTLMv2 hash disclosure via launch-editor (High/Moderate)
38
+ - **ws** 8.21.0 — Memory exhaustion DoS from tiny fragments; uninitialized memory disclosure (High/Moderate)
39
+ - **undici** 8.5.0 — Multiple DoS and information disclosure CVEs (High/Moderate/Low)
40
+ - **tar** 7.5.19 — PAX size override causes tar parser differential / file smuggling (Moderate)
41
+ - **qs** 6.15.3 — DoS via `qs.stringify` crash on null/undefined entries (Moderate)
42
+ - **@opentelemetry/core** 2.8.0 — Unbounded memory allocation in W3C Baggage propagation (Moderate)
43
+ - **@babel/core** 7.29.7 — Arbitrary file read via sourceMappingURL comment (Low)
44
+ - **protobufjs** 8.6.5
45
+
46
+ Other dependency updates:
47
+
48
+ - `@google-cloud/spanner` 8.8.0
49
+ - `@testcontainers/*` 12.0.4
50
+ - `google-auth-library` 10.9.0
51
+ - `mockserver-client` 7.3.0
52
+ - `nock` 14.0.16
53
+ - `prettier` 3.9.4
54
+ - `redis` 6.1.0
55
+ - `webpack` 5.108.3 / `webpack-cli` 7.1.0
56
+
57
+ - Updated dependencies [5e9fc45]
58
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.12
59
+
60
+ ## 4.1.13
61
+
62
+ ### Patch Changes
63
+
64
+ - e0eda57: Updated dependencies
65
+ - Updated dependencies [e0eda57]
66
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.11
67
+
68
+ ## 4.1.12
69
+
70
+ ### Patch Changes
71
+
72
+ - 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.
73
+
74
+ Also update supporting dependencies across the affected packages.
75
+
76
+ - Updated dependencies [26d55f0]
77
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.10
78
+
79
+ ## 4.1.11
80
+
81
+ ### Patch Changes
82
+
83
+ - a6c27f3: Updated dependencies
84
+ - Updated dependencies [a6c27f3]
85
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.9
86
+
87
+ ## 4.1.10
88
+
89
+ ### Patch Changes
90
+
91
+ - 97fe7da: Updated dependencies
92
+
93
+ ## 4.1.9
94
+
95
+ ### Patch Changes
96
+
97
+ - 264e665: Upgrade `redis` to v6 in `@sebspark/promise-cache` and bump minor dependencies across the workspace.
98
+
99
+ **Breaking change (`@sebspark/promise-cache`):**
100
+ `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.
101
+
102
+ **Dependency updates across packages:**
103
+ - `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)
104
+ - `redis`: `5.12.1` → `6.0.0` (otel, promise-cache)
105
+ - `tsdown`: `0.22.0` → `0.22.1` (tsconfig)
106
+ - `turbo` / `@turbo/gen`: `2.9.15` → `2.9.16`
107
+ - `webpack-cli`: `7.0.2` → `7.0.3` (avsc-isometric)
108
+
109
+ **Test fix (`@sebspark/promise-cache`):**
110
+ Pinned Redis container image tag to `redis:8.8-alpine` (was `redis:8-alpine`) to prevent floating-tag drift in e2e tests.
111
+
112
+ - Updated dependencies [264e665]
113
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.8
114
+
115
+ ## 4.1.8
116
+
117
+ ### Patch Changes
118
+
119
+ - 242eb33: This release primarily updates dependencies across the listed packages, including:
120
+ - Testcontainers v12 upgrades in packages that run integration/e2e tests.
121
+ - Vitest/Biome/Turbo and related tooling updates.
122
+ - Runtime dependency updates such as `date-fns`, `@inquirer/*`, `socket.io-adapter`, and `ws`.
123
+
124
+ It also includes two targeted fixes:
125
+ - `@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.
126
+ - `@sebspark/health-check`: updated the e2e readiness payload assertions and type-only import usage to match current runtime output and TypeScript expectations.
127
+
128
+ - Updated dependencies [242eb33]
129
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.7
130
+
131
+ ## 4.1.7
132
+
133
+ ### Patch Changes
134
+
135
+ - 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`.
136
+ - Updated dependencies [c5e9c99]
137
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.6
138
+
139
+ ## 4.1.6
140
+
141
+ ### Patch Changes
142
+
143
+ - 41bb8f2: ### `@sebspark/openapi-core`
144
+
145
+ `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.
146
+
147
+ ### `@sebspark/tsconfig`
148
+
149
+ 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.
150
+
151
+ ### `@sebspark/openapi-client`
152
+
153
+ Updated `fromAxiosError` call site to pass `error` directly as `unknown` instead of casting to `AxiosError`.
154
+
155
+ ### Other packages
156
+
157
+ Dependency updates.
158
+
159
+ ## 4.1.5
160
+
161
+ ### Patch Changes
162
+
163
+ - a62ddaa: Updated vulnerable dependencies
164
+
165
+ ## 4.1.4
166
+
167
+ ### Patch Changes
168
+
169
+ - 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).
170
+
171
+ Dependency updates:
172
+ - `@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
173
+ - `@google-cloud/spanner`: `8.7.0` → `8.7.1`
174
+ - `fast-xml-parser`: `5.7.2` → `5.7.3`
175
+ - Dev: `turbo` `2.9.8` → `2.9.9`, `knip` `6.11.0` → `6.12.0`, `syncpack` `14.3.1` → `15.0.0`
176
+
177
+ - Updated dependencies [cf4ca8e]
178
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.5
179
+
180
+ ## 4.1.3
181
+
182
+ ### Patch Changes
183
+
184
+ - 7d8cc98: Dependabot dependency updates
185
+ - Updated dependencies [7d8cc98]
186
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.4
187
+
188
+ ## 4.1.2
189
+
190
+ ### Patch Changes
191
+
192
+ - 8a120f6: Updated dependencies for all and docs for emulator
193
+ - Updated dependencies [8a120f6]
194
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.3
195
+
196
+ ## 4.1.1
197
+
198
+ ### Patch Changes
199
+
200
+ - e9a7a28: Updated dependencies
201
+ - Updated dependencies [e9a7a28]
202
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.2
203
+
204
+ ## 4.1.0
205
+
206
+ ### Minor Changes
207
+
208
+ - 7494311: Allow consumers to use the SimpleSpanProcessor when needed.
209
+
210
+ ## 4.0.1
211
+
212
+ ### Patch Changes
213
+
214
+ - 4124516: Updated dependencies
215
+ - 4e12590: Updated dependencies
216
+ - Updated dependencies [4e12590]
217
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.1
218
+
219
+ ## 4.0.0
220
+
221
+ ### Major Changes
222
+
223
+ - f07a679: Instrumentations are now methods and accept config
224
+
225
+ ## 3.0.4
226
+
227
+ ### Patch Changes
228
+
229
+ - aff5f58: Updated dependencies
230
+
231
+ ## 3.0.3
232
+
233
+ ### Patch Changes
234
+
235
+ - ae4b9bf: OTEL only tries to shut down once
236
+
237
+ ## 3.0.2
238
+
239
+ ### Patch Changes
240
+
241
+ - Updated dependencies [f202dc3]
242
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.3.0
243
+
244
+ ## 3.0.1
245
+
246
+ ### Patch Changes
247
+
248
+ - 22bde73: Opensearch instrumentation does not call through to http instrumentation
249
+
250
+ ## 3.0.0
251
+
252
+ ### Major Changes
253
+
254
+ - 91aed80: Added instrumentation for outgoing http requests and removed SIGTERM listener
255
+
256
+ ### Patch Changes
257
+
258
+ - Updated dependencies [91aed80]
259
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.2.2
260
+
261
+ ## 2.2.3
262
+
263
+ ### Patch Changes
264
+
265
+ - Updated dependencies [cd9e760]
266
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.2.1
267
+
268
+ ## 2.2.2
269
+
270
+ ### Patch Changes
271
+
272
+ - Updated dependencies [b92b79a]
273
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.2.0
274
+
275
+ ## 2.2.1
276
+
277
+ ### Patch Changes
278
+
279
+ - Updated dependencies [67d6129]
280
+ - @sebspark/opentelemetry-instrumentation-opensearch@0.1.1
281
+
282
+ ## 2.2.0
283
+
284
+ ### Minor Changes
285
+
286
+ - 3d2415a: Added instrumentation for opensearch
287
+
288
+ ## 2.1.8
289
+
290
+ ### Patch Changes
291
+
292
+ - 67871de: Otel now warns on stdout. Also dependency updates.
293
+
294
+ ## 2.1.7
295
+
296
+ ### Patch Changes
297
+
298
+ - 736a0b3: No bundling of packages in packages
299
+
300
+ ## 2.1.6
301
+
302
+ ### Patch Changes
303
+
304
+ - 5e9294e: chore: use global variables to store otel initialization
305
+
306
+ ## 2.1.5
307
+
308
+ ### Patch Changes
309
+
310
+ - 23be838: chore: change k8s logs format
311
+
312
+ ## 2.1.4
313
+
314
+ ### Patch Changes
315
+
316
+ - 6cf0475: chore: format service name, remove wrong characters
317
+
318
+ ## 2.1.3
319
+
320
+ ### Patch Changes
321
+
322
+ - 8cd0201: Fix for OTEL not initialized spam and double span.end()
323
+
324
+ ## 2.1.2
325
+
326
+ ### Patch Changes
327
+
328
+ - 1c13543: add missing attribute gcp.log_name
329
+
330
+ ## 2.1.1
331
+
332
+ ### Patch Changes
333
+
334
+ - 1485c2d: Changed warning level text from WARNING to WARN
335
+
336
+ ## 2.1.0
337
+
338
+ ### Minor Changes
339
+
340
+ - c60b7a4: chore: change logs formatting
341
+
342
+ ## 2.0.14
343
+
344
+ ### Patch Changes
345
+
346
+ - 2241dc7: Updated dependencies
347
+
348
+ ## 2.0.13
349
+
350
+ ### Patch Changes
351
+
352
+ - 80e6230: Updated dependencies
353
+
354
+ ## 2.0.12
355
+
356
+ ### Patch Changes
357
+
358
+ - c8dcadb: Updated dependencies
359
+
360
+ ## 2.0.11
361
+
362
+ ### Patch Changes
363
+
364
+ - 11a11ce: Updated dependencies
365
+
366
+ ## 2.0.9
367
+
368
+ ### Patch Changes
369
+
370
+ - 48ab717: Updated dependencies
371
+
372
+ ## 2.0.8
373
+
374
+ ### Patch Changes
375
+
376
+ - e0cb5ee: Updated build from tsup to tsdown
377
+
378
+ ## 2.0.7
379
+
380
+ ### Patch Changes
381
+
382
+ - 8626deb: Updated vulnerable, transitive jws dependency
383
+
384
+ ## 2.0.6
385
+
386
+ ### Patch Changes
387
+
388
+ - 7df8217: Updated dependencies
389
+
390
+ ## 2.0.5
391
+
392
+ ### Patch Changes
393
+
394
+ - 4b210c2: Standardized on a common build script
395
+
396
+ ## 2.0.4
397
+
398
+ ### Patch Changes
399
+
400
+ - 618a019: Dynamically imported instrumentations
401
+
402
+ ## 2.0.3
403
+
404
+ ### Patch Changes
405
+
406
+ - eb99a27: Marked opentelemetry dependencies as external
407
+
408
+ ## 2.0.2
409
+
410
+ ### Patch Changes
411
+
412
+ - 7e5c2e9: Switched to new tsconfig with moduleResolution=bundler
413
+
414
+ ## 2.0.1
415
+
416
+ ### Patch Changes
417
+
418
+ - d801e1e: Updated dependencies and fixed some exports
419
+
420
+ ## 2.0.0
421
+
422
+ ### Major Changes
423
+
424
+ - 0864ec2: ESM only. Minimum node version 22
425
+
426
+ ## 1.1.4
427
+
428
+ ### Patch Changes
429
+
430
+ - 3a40e49: Cleaned up dependencies
431
+
432
+ ## 1.1.3
433
+
434
+ ### Patch Changes
435
+
436
+ - 604c94a: Updated dependencies
437
+
438
+ ## 1.1.2
439
+
440
+ ### Patch Changes
441
+
442
+ - b8fe201: SpanStatusCode is exported as a value, not a type
443
+
444
+ ## 1.1.1
445
+
446
+ ### Patch Changes
447
+
448
+ - b86cf2d: Instrumentation warnings are now supressed during testing
449
+
450
+ ## 1.1.0
451
+
452
+ ### Minor Changes
453
+
454
+ - a8ba986: OTEL exports usable types
455
+
456
+ ## 1.0.5
457
+
458
+ ### Patch Changes
459
+
460
+ - 90fa604: Changed initialization handling in logger to solve OTEL fail spam
461
+
462
+ ## 1.0.4
463
+
464
+ ### Patch Changes
465
+
466
+ - 63fc64a: tracer and meter no longer throw before initialization
467
+
468
+ ## 1.0.3
469
+
470
+ ### Patch Changes
471
+
472
+ - 0e4d66b: Logger swallows messages before initialization
473
+
474
+ ## 1.0.2
475
+
476
+ ### Patch Changes
477
+
478
+ - 4b1337a: Disabling context before initialize
479
+
480
+ ## 1.0.1
481
+
482
+ ### Patch Changes
483
+
484
+ - c360c99: Init check is moved to first log call instead of at getLogger()
485
+
486
+ ## 1.0.0
487
+
488
+ ### Major Changes
489
+
490
+ - d361253: OTEL instrumentation now requires initialize and specific instrumentations
491
+
492
+ ## 0.4.2
493
+
494
+ ### Patch Changes
495
+
496
+ - d323365: Change error function to be able to receive an error object as parameter
497
+
498
+ ## 0.4.0
499
+
500
+ ### Minor Changes
501
+
502
+ - 0dc99f6: Console logger is added if LOG_LEVEL is set, even if collector exists
503
+
504
+ ## 0.3.1
505
+
506
+ ### Patch Changes
507
+
508
+ - fc781e2: Switched places for spanId/traceId
509
+
510
+ ## 0.3.0
511
+
512
+ ### Minor Changes
513
+
514
+ - 2a7b207: Added span and trace id to span logs
515
+
516
+ ## 0.2.4
517
+
518
+ ### Patch Changes
519
+
520
+ - 2c32898: Fixed wrongful options copy for span with parent
521
+
522
+ ## 0.2.3
523
+
524
+ ### Patch Changes
525
+
526
+ - 0288531: Tracer and Meter are asynch and Logger awaits init
527
+
528
+ ## 0.2.2
529
+
530
+ ### Patch Changes
531
+
532
+ - 005c598: Removed manual context registration
533
+
534
+ ## 0.2.1
535
+
536
+ ### Patch Changes
537
+
538
+ - ac28d06: No duplicate contextManager
539
+
540
+ ## 0.2.0
541
+
542
+ ### Minor Changes
543
+
544
+ - cc889fb: Added custom loggers for dev use
545
+
546
+ ## 0.1.0
547
+
548
+ ### Minor Changes
549
+
550
+ - 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.17",
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.15",
51
51
  "fast-safe-stringify": "2.1.1",
52
52
  "kleur": "4.1.5",
53
- "yaml": "2.9.0"
53
+ "yaml": "2.9.1"
54
54
  },
55
55
  "devDependencies": {
56
+ "@biomejs/biome": "2.5.14",
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.3.0",
69
+ "vitest": "5.0.1"
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
+ }