Socket
Socket
Sign inDemoInstall

jaeger-client

Package Overview
Dependencies
14
Maintainers
3
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.17.0 to 3.17.1

5

CHANGELOG.md
# Changes by Version
## 3.17.1 (2019-10-22)
* [bug fix] Do not apply adaptive sampler to child spans (#410) -- Yuri Shkuro
* Add toString to reporters (#403) -- Andrea Di Giorgi
## 3.17.0 (2019-09-23)

@@ -4,0 +9,0 @@

@@ -45,2 +45,9 @@ 'use strict';

}, {
key: 'toString',
value: function toString() {
return this.name() + '(' + this._reporters.map(function (reporter) {
return reporter.toString();
}).join(',') + ')';
}
}, {
key: 'report',

@@ -47,0 +54,0 @@ value: function report(span) {

@@ -45,2 +45,7 @@ 'use strict';

}, {
key: 'toString',
value: function toString() {
return this.name();
}
}, {
key: 'report',

@@ -47,0 +52,0 @@ value: function report(span) {

@@ -50,2 +50,7 @@ 'use strict';

}, {
key: 'toString',
value: function toString() {
return this.name();
}
}, {
key: 'close',

@@ -52,0 +57,0 @@ value: function close(callback) {

@@ -39,2 +39,7 @@ 'use strict';

}, {
key: 'toString',
value: function toString() {
return this.name();
}
}, {
key: 'report',

@@ -41,0 +46,0 @@ value: function report(span) {}

@@ -78,2 +78,7 @@ 'use strict';

}, {
key: 'toString',
value: function toString() {
return this.name();
}
}, {
key: 'report',

@@ -80,0 +85,0 @@ value: function report(span) {

13

dist/src/samplers/per_operation_sampler.js

@@ -112,4 +112,8 @@ 'use strict';

var outTags = {};
var isSampled = this.isSampled(span.operationName, outTags);
// NB: return retryable=true here since we can change decision after setOperationName().
var isSampled = false;
if (span.context()._samplingState.isLocalRootSpan(span.context())) {
isSampled = this.isSampled(span.operationName, outTags);
}
// returning retryable=true since we can change the sampling decision
// after the first call to setOperationName()
return { sample: isSampled, retryable: true, tags: outTags };

@@ -121,3 +125,6 @@ }

var outTags = {};
var isSampled = this.isSampled(span.operationName, outTags);
var isSampled = false;
if (span.context()._samplingState.isLocalRootSpan(span.context())) {
isSampled = this.isSampled(span.operationName, outTags);
}
return { sample: isSampled, retryable: false, tags: outTags };

@@ -124,0 +131,0 @@ }

@@ -13,2 +13,2 @@ // Copyright (c) 2019 Uber Technologies, Inc.

module.exports = '3.17.0';
module.exports = '3.17.1';
{
"name": "jaeger-client",
"version": "3.17.0",
"version": "3.17.1",
"description": "Jaeger binding for OpenTracing Node",

@@ -5,0 +5,0 @@ "engines": {

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc