lightstep-tracer
Advanced tools
Comparing version 0.24.1 to 0.24.2
@@ -7,2 +7,5 @@ # CHANGELOG | ||
## 0.24.2 | ||
* Upgrade thrift to 0.13.0 (#198) | ||
## 0.24.1 | ||
@@ -9,0 +12,0 @@ * Guard session storage access |
@@ -10,3 +10,6 @@ 'use strict'; | ||
// | ||
var thrift = require('thrift'); | ||
// Note: THRIFT-5029 requires us to use a non-standard require | ||
// TODO: remove non-standard require after https://github.com/apache/thrift/pull/1947 merges | ||
var thrift = require('thrift/src/thrift'); | ||
var Thrift = thrift.Thrift; | ||
@@ -13,0 +16,0 @@ var Q = thrift.Q; |
@@ -8,3 +8,6 @@ 'use strict'; | ||
// | ||
var thrift = require('thrift'); | ||
// Note: THRIFT-5029 requires us to use a non-standard require | ||
// TODO: remove non-standard require after https://github.com/apache/thrift/pull/1947 merges | ||
var thrift = require('thrift/src/thrift'); | ||
var Thrift = thrift.Thrift; | ||
@@ -11,0 +14,0 @@ var Q = thrift.Q; |
@@ -22,3 +22,5 @@ 'use strict'; | ||
ProtoTransport: require('./imp/platform/node/transport_httpproto.js'), | ||
thrift: require('thrift'), | ||
// Note: THRIFT-5029 requires us to use a non-standard require | ||
// TODO: remove non-standard require after https://github.com/apache/thrift/pull/1947 merges | ||
thrift: require('thrift/src/thrift'), | ||
crouton_thrift: require('./imp/platform/node/crouton_thrift.js'), | ||
@@ -25,0 +27,0 @@ proto: require('./imp/generated_proto/collector_pb.js') |
{ | ||
"name": "lightstep-tracer", | ||
"version": "0.24.1", | ||
"version": "0.24.2", | ||
"main": "index.js", | ||
@@ -24,3 +24,3 @@ "types": "index.d.ts", | ||
"source-map-support": "0.3.3", | ||
"thrift": "0.12.0" | ||
"thrift": "0.13.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
@@ -124,4 +124,14 @@ # lightstep-tracer | ||
* `disable_meta_event_reporting` `bool` *optional*, *default=false* - when `disable_meta_event_reporting` is set to `true`, the tracer will disable meta event reporting even if requested by the Satellite. | ||
* `propagator` `dictionary` *optional*, *defaults=*`{opentracing.FORMAT_HTTP_HEADERS: LightStepPropagator, opentracing.FORMAT_TEXT_MAP: LightStepPropagator, opentracing.FORMAT_BINARY: UnsupportedPropagator}`: Allows inject/extract to use custom propagators for different formats. This package includes a `B3Propagator` that supports B3 headers on text maps and http headers. `DDPropagator` supports DataDog trace headers. | ||
* `propagators` `dictionary` *optional*, *defaults=*`{ [opentracing.FORMAT_HTTP_HEADERS]: new lightstep.LightStepPropagator(), [opentracing.FORMAT_TEXT_MAP]: new lightstep.LightStepPropagator(), [opentracing.FORMAT_BINARY]: new lightstep.UnsupportedPropagator() }`: Allows inject/extract to use custom propagators for different formats. This package includes `B3Propagator` that supports B3 headers on text maps and http headers. `DDPropagator` supports DataDog trace headers. | ||
An example configuration using custom propagators might look like: | ||
```js | ||
const tracer = new lightstep.Tracer({ | ||
propagators: { | ||
[opentracing.FORMAT_HTTP_HEADERS]: new lightstep.DDPropagator(), | ||
[opentracing.FORMAT_TEXT_MAP]: new lightstep.B3Propagator() | ||
} | ||
}) | ||
``` | ||
### SpanImp | ||
@@ -128,0 +138,0 @@ |
@@ -8,3 +8,6 @@ // Declare crouton_thrift to make the source ES6 compliant | ||
// | ||
var thrift = require('thrift'); | ||
// Note: THRIFT-5029 requires us to use a non-standard require | ||
// TODO: remove non-standard require after https://github.com/apache/thrift/pull/1947 merges | ||
var thrift = require('thrift/src/thrift'); | ||
var Thrift = thrift.Thrift; | ||
@@ -1710,2 +1713,1 @@ var Q = thrift.Q; | ||
}; | ||
@@ -6,3 +6,6 @@ // | ||
// | ||
var thrift = require('thrift'); | ||
// Note: THRIFT-5029 requires us to use a non-standard require | ||
// TODO: remove non-standard require after https://github.com/apache/thrift/pull/1947 merges | ||
var thrift = require('thrift/src/thrift'); | ||
var Thrift = thrift.Thrift; | ||
@@ -1708,2 +1711,1 @@ var Q = thrift.Q; | ||
}; | ||
@@ -20,3 +20,5 @@ /* global PLATFORM_BROWSER */ | ||
ProtoTransport : require('./imp/platform/node/transport_httpproto.js'), | ||
thrift : require('thrift'), | ||
// Note: THRIFT-5029 requires us to use a non-standard require | ||
// TODO: remove non-standard require after https://github.com/apache/thrift/pull/1947 merges | ||
thrift : require('thrift/src/thrift'), | ||
crouton_thrift : require('./imp/platform/node/crouton_thrift.js'), | ||
@@ -23,0 +25,0 @@ proto : require('./imp/generated_proto/collector_pb.js'), |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
5092452
200
67464
157
+ Addedabbrev@1.1.1(transitive)
+ Addedbabylon@7.0.0-beta.19(transitive)
+ Addedbluebird@3.5.5(transitive)
+ Addedcatharsis@0.8.11(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedjs2xmlparser@3.0.0(transitive)
+ Addedjsdoc@3.5.5(transitive)
+ Addedjson-int64@1.0.3(transitive)
+ Addedklaw@2.0.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedmarked@0.3.19(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addednopt@4.0.3(transitive)
+ Addedos-homedir@1.0.2(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedosenv@0.1.5(transitive)
+ Addedrequizzle@0.2.4(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedtaffydb@2.6.2(transitive)
+ Addedthrift@0.13.0(transitive)
+ Addedunderscore@1.8.3(transitive)
+ Addedxmlcreate@1.0.2(transitive)
- Removedasync-limiter@1.0.1(transitive)
- Removedq@1.5.1(transitive)
- Removedthrift@0.12.0(transitive)
- Removedws@5.2.4(transitive)
Updatedthrift@0.13.0