Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/tracing

Package Overview
Dependencies
Maintainers
4
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/tracing - npm Package Compare versions

Comparing version 0.10.2 to 0.10.3-alpha.28

3

build/src/BasicTracerProvider.d.ts

@@ -13,2 +13,3 @@ import * as api from '@opentelemetry/api';

private readonly _tracers;
private _cleanNotifyOnGlobalShutdown;
activeSpanProcessor: NoopSpanProcessor;

@@ -33,3 +34,5 @@ readonly logger: api.Logger;

register(config?: SDKRegistrationConfig): void;
shutdown(cb?: () => void): void;
private _shutdownActiveProcessor;
}
//# sourceMappingURL=BasicTracerProvider.d.ts.map

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

});
if (this._config.gracefulShutdown) {
this._cleanNotifyOnGlobalShutdown = core_1.notifyOnGlobalShutdown(this._shutdownActiveProcessor.bind(this));
}
}

@@ -82,4 +85,14 @@ getTracer(name, version = '*', config) {

}
shutdown(cb = () => { }) {
this.activeSpanProcessor.shutdown(cb);
if (this._cleanNotifyOnGlobalShutdown) {
this._cleanNotifyOnGlobalShutdown();
this._cleanNotifyOnGlobalShutdown = undefined;
}
}
_shutdownActiveProcessor() {
this.activeSpanProcessor.shutdown();
}
}
exports.BasicTracerProvider = BasicTracerProvider;
//# sourceMappingURL=BasicTracerProvider.js.map

@@ -22,3 +22,4 @@ import { AlwaysOnSampler } from '@opentelemetry/core';

};
gracefulShutdown: boolean;
};
//# sourceMappingURL=config.d.ts.map

@@ -40,3 +40,4 @@ "use strict";

},
gracefulShutdown: true,
};
//# sourceMappingURL=config.js.map

@@ -23,2 +23,4 @@ import { HttpTextPropagator, Logger, Sampler } from '@opentelemetry/api';

resource?: Resource;
/** Bool for whether or not graceful shutdown is enabled. If disabled spans will not be exported when SIGTERM is recieved */
gracefulShutdown?: boolean;
/**

@@ -25,0 +27,0 @@ * Generator of trace and span IDs

@@ -15,2 +15,3 @@ import { TracerConfig } from './types';

};
gracefulShutdown: boolean;
} & {

@@ -17,0 +18,0 @@ sampler: ParentOrElseSampler;

2

build/src/version.d.ts

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

export declare const VERSION = "0.10.2";
export declare const VERSION = "0.10.3-alpha.28+d68ff0f";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.10.2';
exports.VERSION = '0.10.3-alpha.28+d68ff0f';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/tracing",
"version": "0.10.2",
"version": "0.10.3-alpha.28+d68ff0f",
"description": "OpenTelemetry Tracing",

@@ -53,3 +53,3 @@ "main": "build/src/index.js",

"devDependencies": {
"@types/mocha": "8.0.0",
"@types/mocha": "8.0.2",
"@types/node": "14.0.27",

@@ -70,4 +70,4 @@ "@types/sinon": "9.0.4",

"rimraf": "3.0.2",
"sinon": "9.0.2",
"ts-loader": "8.0.1",
"sinon": "9.0.3",
"ts-loader": "8.0.2",
"ts-mocha": "7.0.0",

@@ -82,5 +82,5 @@ "ts-node": "8.10.2",

"@opentelemetry/core": "^0.10.2",
"@opentelemetry/resources": "^0.10.2"
"@opentelemetry/resources": "^0.10.3-alpha.28+d68ff0f"
},
"gitHead": "b247e69034a7888a842fe75e0a5ff06f8bea44a8"
"gitHead": "d68ff0fb7594f6a367cb7a5057cfb2875e8c082f"
}

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