@interopio/otel 0.0.74 → 0.0.75

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/dist/index.d.ts CHANGED
@@ -23,7 +23,7 @@ export { safeStringify } from './utils/safe-stringify';
23
23
  export { isPlainObject } from './utils/is-plain-object';
24
24
  export { DocumentLoadInstrumentationConfig } from '@opentelemetry/instrumentation-document-load';
25
25
  export { FetchInstrumentationConfig } from '@opentelemetry/instrumentation-fetch';
26
- export { UserInteractionInstrumentationConfig } from '@opentelemetry/instrumentation-user-interaction';
26
+ export { UserInteractionInstrumentationConfig } from './traces/types';
27
27
  export { XMLHttpRequestInstrumentationConfig } from '@opentelemetry/instrumentation-xml-http-request';
28
28
  import * as OtelAPI from "@opentelemetry/api";
29
29
  import * as OtelTraceBaseSDK from "@opentelemetry/sdk-trace-base";
@@ -4,7 +4,7 @@ import { Manager } from "../types";
4
4
  import { OTLPExporterNodeConfigBase } from "@opentelemetry/otlp-exporter-base";
5
5
  import { Sampler, SpanExporter, SpanProcessor, TracerConfig } from "@opentelemetry/sdk-trace-base";
6
6
  import { DocumentLoadInstrumentationConfig } from "@opentelemetry/instrumentation-document-load";
7
- import { UserInteractionInstrumentationConfig } from "@opentelemetry/instrumentation-user-interaction";
7
+ import { UserInteractionInstrumentationConfig as UserInteractionInstrumentationConfigBase } from "@opentelemetry/instrumentation-user-interaction";
8
8
  import { FetchInstrumentationConfig } from "@opentelemetry/instrumentation-fetch";
9
9
  import { XMLHttpRequestInstrumentationConfig } from "@opentelemetry/instrumentation-xml-http-request";
10
10
  export interface TracesManager extends Manager<TracesSettings> {
@@ -413,6 +413,9 @@ export interface SamplingSettings {
413
413
  */
414
414
  sample: number | boolean;
415
415
  }
416
+ export interface UserInteractionInstrumentationConfig extends UserInteractionInstrumentationConfigBase {
417
+ throttleIntervalMs?: number;
418
+ }
416
419
  export interface AutoInstrumentationOptions {
417
420
  documentLoad?: boolean | DocumentLoadInstrumentationConfig;
418
421
  userInteraction?: boolean | UserInteractionInstrumentationConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interopio/otel",
3
- "version": "0.0.74",
3
+ "version": "0.0.75",
4
4
  "description": "otel library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",