Socket
Socket
Sign inDemoInstall

@opentelemetry/sdk-trace-base

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/sdk-trace-base - npm Package Compare versions

Comparing version 1.13.0 to 1.14.0

4

build/esm/export/ConsoleSpanExporter.d.ts

@@ -20,2 +20,6 @@ import { SpanExporter } from './SpanExporter';

/**
* Exports any pending spans in exporter
*/
forceFlush(): Promise<void>;
/**
* converts span info into more readable format

@@ -22,0 +26,0 @@ * @param span

@@ -49,2 +49,8 @@ /*

this._sendSpans([]);
return this.forceFlush();
};
/**
* Exports any pending spans in exporter
*/
ConsoleSpanExporter.prototype.forceFlush = function () {
return Promise.resolve();

@@ -51,0 +57,0 @@ };

@@ -18,2 +18,6 @@ import { SpanExporter } from './SpanExporter';

shutdown(): Promise<void>;
/**
* Exports any pending spans in the exporter
*/
forceFlush(): Promise<void>;
reset(): void;

@@ -20,0 +24,0 @@ getFinishedSpans(): ReadableSpan[];

@@ -69,2 +69,8 @@ /*

this._finishedSpans = [];
return this.forceFlush();
};
/**
* Exports any pending spans in the exporter
*/
InMemorySpanExporter.prototype.forceFlush = function () {
return Promise.resolve();

@@ -71,0 +77,0 @@ };

@@ -76,3 +76,8 @@ /*

_a.sent();
return [2 /*return*/];
if (!this._exporter.forceFlush) return [3 /*break*/, 3];
return [4 /*yield*/, this._exporter.forceFlush()];
case 2:
_a.sent();
_a.label = 3;
case 3: return [2 /*return*/];
}

@@ -79,0 +84,0 @@ });

@@ -18,3 +18,5 @@ import { ExportResult } from '@opentelemetry/core';

shutdown(): Promise<void>;
/** Immediately export all spans */
forceFlush?(): Promise<void>;
}
//# sourceMappingURL=SpanExporter.d.ts.map

2

build/esm/version.d.ts

@@ -1,2 +0,2 @@

export declare const VERSION = "1.13.0";
export declare const VERSION = "1.14.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export var VERSION = '1.13.0';
export var VERSION = '1.14.0';
//# sourceMappingURL=version.js.map

@@ -20,2 +20,6 @@ import { SpanExporter } from './SpanExporter';

/**
* Exports any pending spans in exporter
*/
forceFlush(): Promise<void>;
/**
* converts span info into more readable format

@@ -22,0 +26,0 @@ * @param span

@@ -36,2 +36,8 @@ /*

this._sendSpans([]);
return this.forceFlush();
}
/**
* Exports any pending spans in exporter
*/
forceFlush() {
return Promise.resolve();

@@ -38,0 +44,0 @@ }

@@ -18,2 +18,6 @@ import { SpanExporter } from './SpanExporter';

shutdown(): Promise<void>;
/**
* Exports any pending spans in the exporter
*/
forceFlush(): Promise<void>;
reset(): void;

@@ -20,0 +24,0 @@ getFinishedSpans(): ReadableSpan[];

@@ -43,2 +43,8 @@ /*

this._finishedSpans = [];
return this.forceFlush();
}
/**
* Exports any pending spans in the exporter
*/
forceFlush() {
return Promise.resolve();

@@ -45,0 +51,0 @@ }

@@ -33,2 +33,5 @@ /*

await Promise.all(Array.from(this._unresolvedExports));
if (this._exporter.forceFlush) {
await this._exporter.forceFlush();
}
}

@@ -35,0 +38,0 @@ onStart(_span, _parentContext) { }

@@ -18,3 +18,5 @@ import { ExportResult } from '@opentelemetry/core';

shutdown(): Promise<void>;
/** Immediately export all spans */
forceFlush?(): Promise<void>;
}
//# sourceMappingURL=SpanExporter.d.ts.map

@@ -1,2 +0,2 @@

export declare const VERSION = "1.13.0";
export declare const VERSION = "1.14.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export const VERSION = '1.13.0';
export const VERSION = '1.14.0';
//# sourceMappingURL=version.js.map

@@ -20,2 +20,6 @@ import { SpanExporter } from './SpanExporter';

/**
* Exports any pending spans in exporter
*/
forceFlush(): Promise<void>;
/**
* converts span info into more readable format

@@ -22,0 +26,0 @@ * @param span

@@ -39,2 +39,8 @@ "use strict";

this._sendSpans([]);
return this.forceFlush();
}
/**
* Exports any pending spans in exporter
*/
forceFlush() {
return Promise.resolve();

@@ -41,0 +47,0 @@ }

@@ -18,2 +18,6 @@ import { SpanExporter } from './SpanExporter';

shutdown(): Promise<void>;
/**
* Exports any pending spans in the exporter
*/
forceFlush(): Promise<void>;
reset(): void;

@@ -20,0 +24,0 @@ getFinishedSpans(): ReadableSpan[];

@@ -46,2 +46,8 @@ "use strict";

this._finishedSpans = [];
return this.forceFlush();
}
/**
* Exports any pending spans in the exporter
*/
forceFlush() {
return Promise.resolve();

@@ -48,0 +54,0 @@ }

@@ -36,2 +36,5 @@ "use strict";

await Promise.all(Array.from(this._unresolvedExports));
if (this._exporter.forceFlush) {
await this._exporter.forceFlush();
}
}

@@ -38,0 +41,0 @@ onStart(_span, _parentContext) { }

@@ -18,3 +18,5 @@ import { ExportResult } from '@opentelemetry/core';

shutdown(): Promise<void>;
/** Immediately export all spans */
forceFlush?(): Promise<void>;
}
//# sourceMappingURL=SpanExporter.d.ts.map

@@ -1,2 +0,2 @@

export declare const VERSION = "1.13.0";
export declare const VERSION = "1.14.0";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '1.13.0';
exports.VERSION = '1.14.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/sdk-trace-base",
"version": "1.13.0",
"version": "1.14.0",
"description": "OpenTelemetry Tracing",

@@ -94,9 +94,9 @@ "main": "build/src/index.js",

"dependencies": {
"@opentelemetry/core": "1.13.0",
"@opentelemetry/resources": "1.13.0",
"@opentelemetry/semantic-conventions": "1.13.0"
"@opentelemetry/core": "1.14.0",
"@opentelemetry/resources": "1.14.0",
"@opentelemetry/semantic-conventions": "1.14.0"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-base",
"sideEffects": false,
"gitHead": "8fc76896595aac912bf9e15d4f19c167317844c8"
"gitHead": "edebbcc757535bc88f01340409dbbecc0bb6ccf8"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc