@opentelemetry/exporter-zipkin
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -30,2 +30,3 @@ /*! | ||
private readonly _reqOpts; | ||
private _isShutdown; | ||
constructor(config: zipkinTypes.ExporterConfig); | ||
@@ -32,0 +33,0 @@ /** |
@@ -45,2 +45,3 @@ "use strict"; | ||
config.statusDescriptionTagName || transform_1.statusDescriptionTagName; | ||
this._isShutdown = false; | ||
} | ||
@@ -52,2 +53,6 @@ /** | ||
this._logger.debug('Zipkin exporter export'); | ||
if (this._isShutdown) { | ||
setTimeout(() => resultCallback(base_1.ExportResult.FAILED_NOT_RETRYABLE)); | ||
return; | ||
} | ||
return this._sendSpans(spans, resultCallback); | ||
@@ -60,2 +65,6 @@ } | ||
this._logger.debug('Zipkin exporter shutdown'); | ||
if (this._isShutdown) { | ||
return; | ||
} | ||
this._isShutdown = true; | ||
// Make an optimistic flush. | ||
@@ -62,0 +71,0 @@ if (this._forceFlush) { |
{ | ||
"name": "@opentelemetry/exporter-zipkin", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "OpenTelemetry Zipkin Exporter allows the user to send collected traces to Zipkin.", | ||
@@ -14,2 +14,3 @@ "main": "build/src/index.js", | ||
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", | ||
"precompile": "tsc --version", | ||
"compile": "tsc -p .", | ||
@@ -44,3 +45,3 @@ "fix": "gts fix", | ||
"@types/node": "^12.6.9", | ||
"codecov": "^3.5.0", | ||
"codecov": "^3.6.1", | ||
"gts": "^1.1.0", | ||
@@ -55,10 +56,10 @@ "mocha": "^6.2.0", | ||
"tslint-microsoft-contrib": "^6.2.0", | ||
"typescript": "^3.6.3" | ||
"typescript": "3.7.2" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/base": "^0.2.0", | ||
"@opentelemetry/core": "^0.2.0", | ||
"@opentelemetry/tracing": "^0.2.0", | ||
"@opentelemetry/types": "^0.2.0" | ||
"@opentelemetry/base": "^0.3.0", | ||
"@opentelemetry/core": "^0.3.0", | ||
"@opentelemetry/tracing": "^0.3.0", | ||
"@opentelemetry/types": "^0.3.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38099
574
+ Added@opentelemetry/base@0.3.3(transitive)
+ Added@opentelemetry/core@0.3.3(transitive)
+ Added@opentelemetry/scope-base@0.3.3(transitive)
+ Added@opentelemetry/tracing@0.3.3(transitive)
+ Added@opentelemetry/types@0.3.3(transitive)
- Removed@opentelemetry/base@0.2.0(transitive)
- Removed@opentelemetry/core@0.2.0(transitive)
- Removed@opentelemetry/scope-base@0.2.0(transitive)
- Removed@opentelemetry/tracing@0.2.0(transitive)
- Removed@opentelemetry/types@0.2.0(transitive)
Updated@opentelemetry/base@^0.3.0
Updated@opentelemetry/core@^0.3.0
Updated@opentelemetry/types@^0.3.0