@temporalio/interceptors-opentelemetry 1.7.2 → 1.7.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.
@@ -18,6 +18,9 @@ export interface SerializableSpan {
18
18
  readonly events: tracing.TimedEvent[];
19
19
  readonly duration: otel.HrTime;
20
20
  readonly ended: boolean;
21
+ readonly droppedAttributesCount: number;
22
+ readonly droppedLinksCount: number;
23
+ readonly droppedEventsCount: number;
21
24
  readonly instrumentationLibrary: InstrumentationLibrary;
22
25
  }
23
26
  export interface OpenTelemetryWorkflowExporter extends Sink {
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/workflow/definitions.ts"],"names":[],"mappings":";;;AAqCA,IAAY,QA+BX;AA/BD,WAAY,QAAQ;IAClB;;OAEG;IACH,4CAAgC,CAAA;IAEhC;;OAEG;IACH,kEAAsD,CAAA;IAEtD;;OAEG;IACH,4CAAgC,CAAA;IAChC;;OAEG;IACH,uDAA2C,CAAA;IAC3C;;OAEG;IACH,4CAAgC,CAAA;IAChC;;OAEG;IACH,4CAAgC,CAAA;IAChC;;OAEG;IACH,6CAAiC,CAAA;AACnC,CAAC,EA/BW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA+BnB;AAEY,QAAA,cAAc,GAAG,GAAG,CAAC"}
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/workflow/definitions.ts"],"names":[],"mappings":";;;AAwCA,IAAY,QA+BX;AA/BD,WAAY,QAAQ;IAClB;;OAEG;IACH,4CAAgC,CAAA;IAEhC;;OAEG;IACH,kEAAsD,CAAA;IAEtD;;OAEG;IACH,4CAAgC,CAAA;IAChC;;OAEG;IACH,uDAA2C,CAAA;IAC3C;;OAEG;IACH,4CAAgC,CAAA;IAChC;;OAEG;IACH,4CAAgC,CAAA;IAChC;;OAEG;IACH,6CAAiC,CAAA;AACnC,CAAC,EA/BW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA+BnB;AAEY,QAAA,cAAc,GAAG,GAAG,CAAC"}
@@ -49,6 +49,9 @@ class SpanExporter {
49
49
  events: span.events,
50
50
  duration: span.duration,
51
51
  ended: span.ended,
52
+ droppedAttributesCount: span.droppedAttributesCount,
53
+ droppedEventsCount: span.droppedEventsCount,
54
+ droppedLinksCount: span.droppedLinksCount,
52
55
  instrumentationLibrary: span.instrumentationLibrary,
53
56
  };
54
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"span-exporter.js","sourceRoot":"","sources":["../../src/workflow/span-exporter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,8CAAqE;AACrE,yDAA2C;AAG3C,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,EAAsB,CAAC;AAEzD,MAAa,YAAY;IAChB,MAAM,CAAC,KAA6B,EAAE,cAA8C;QACzF,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClE,cAAc,CAAC,EAAE,IAAI,EAAE,uBAAgB,CAAC,OAAO,EAAE,CAAC,CAAC;IACrD,CAAC;IAEM,KAAK,CAAC,QAAQ;QACnB,uBAAuB;IACzB,CAAC;IAEM,gBAAgB,CAAC,IAA0B;QAChD,OAAO;YACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE;YAC/B,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAA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sB;YACnD,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,sBAAsB,EAAE,IAAI,CAAC,sBAAsB;SACpD,CAAC;IACJ,CAAC;CACF;AA9BD,oCA8BC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temporalio/interceptors-opentelemetry",
3
- "version": "1.7.2",
3
+ "version": "1.7.4",
4
4
  "description": "Temporal.io SDK interceptors bundle for tracing with opentelemetry",
5
5
  "main": "lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -14,15 +14,15 @@
14
14
  "author": "Temporal Technologies Inc. <sdk@temporal.io>",
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@opentelemetry/api": "^1.3.0",
18
- "@opentelemetry/core": "^1.8.0",
19
- "@opentelemetry/resources": "^1.8.0",
20
- "@opentelemetry/sdk-trace-base": "^1.8.0",
21
- "@temporalio/activity": "1.7.2",
22
- "@temporalio/client": "1.7.2",
23
- "@temporalio/common": "1.7.2",
24
- "@temporalio/worker": "1.7.2",
25
- "@temporalio/workflow": "1.7.2"
17
+ "@opentelemetry/api": "^1.4.1",
18
+ "@opentelemetry/core": "^1.12.0",
19
+ "@opentelemetry/resources": "^1.12.0",
20
+ "@opentelemetry/sdk-trace-base": "^1.12.0",
21
+ "@temporalio/activity": "1.7.4",
22
+ "@temporalio/client": "1.7.4",
23
+ "@temporalio/common": "1.7.4",
24
+ "@temporalio/worker": "1.7.4",
25
+ "@temporalio/workflow": "1.7.4"
26
26
  },
27
27
  "bugs": {
28
28
  "url": "https://github.com/temporalio/sdk-typescript/issues"
@@ -40,5 +40,5 @@
40
40
  "src",
41
41
  "lib"
42
42
  ],
43
- "gitHead": "779561124eecdec8396e658c0a1305d343dfaff7"
43
+ "gitHead": "fb4088a8174b60b7a3fc7763ed39dbfc514a3e56"
44
44
  }
@@ -19,6 +19,9 @@ export interface SerializableSpan {
19
19
  readonly events: tracing.TimedEvent[];
20
20
  readonly duration: otel.HrTime;
21
21
  readonly ended: boolean;
22
+ readonly droppedAttributesCount: number;
23
+ readonly droppedLinksCount: number;
24
+ readonly droppedEventsCount: number;
22
25
  // readonly resource: Resource;
23
26
  // eslint-disable-next-line deprecation/deprecation
24
27
  readonly instrumentationLibrary: InstrumentationLibrary;
@@ -29,6 +29,9 @@ export class SpanExporter implements tracing.SpanExporter {
29
29
  events: span.events,
30
30
  duration: span.duration,
31
31
  ended: span.ended,
32
+ droppedAttributesCount: span.droppedAttributesCount,
33
+ droppedEventsCount: span.droppedEventsCount,
34
+ droppedLinksCount: span.droppedLinksCount,
32
35
  instrumentationLibrary: span.instrumentationLibrary,
33
36
  };
34
37
  }