Comparing version 0.5.6 to 0.5.7
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="0.5.7"></a> | ||
## [0.5.7](https://github.com/hawkly/hawkly-tracer-javascript/compare/v0.5.6...v0.5.7) (2017-03-02) | ||
<a name="0.5.6"></a> | ||
@@ -7,0 +12,0 @@ ## [0.5.6](https://github.com/hawkly/hawkly-tracer-javascript/compare/v0.5.5...v0.5.6) (2017-03-01) |
@@ -1,3 +0,3 @@ | ||
import { Span } from './tracer/span'; | ||
import { Tracer } from './tracer/tracer'; | ||
import { Span } from './tracer/Span'; | ||
import { Tracer } from './tracer/Tracer'; | ||
export { Tracer, Span }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const span_1 = require("./tracer/span"); | ||
exports.Span = span_1.Span; | ||
const tracer_1 = require("./tracer/tracer"); | ||
exports.Tracer = tracer_1.Tracer; | ||
const Span_1 = require("./tracer/Span"); | ||
exports.Span = Span_1.Span; | ||
const Tracer_1 = require("./tracer/Tracer"); | ||
exports.Tracer = Tracer_1.Tracer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx3Q0FBcUM7QUFJbkMsMkJBQUk7QUFITiw0Q0FBeUM7QUFFdkMsaUNBQU0ifQ== |
@@ -1,4 +0,4 @@ | ||
import { Span } from './tracer/span'; | ||
import { Tracer } from './tracer/tracer'; | ||
import { Span } from './tracer/Span'; | ||
import { Tracer } from './tracer/Tracer'; | ||
export { Tracer, Span, }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNyQyxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDekMsT0FBTyxFQUNMLE1BQU0sRUFDTixJQUFJLEdBQ0wsQ0FBQyJ9 |
{ | ||
"name": "hawkly", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "An OpenTracing compatible tracer for hawkly.io", | ||
@@ -26,4 +26,3 @@ "main": "lib/main/index.js", | ||
"docs:json": "typedoc --mode file --json lib/docs/typedoc.json src/index.ts", | ||
"release": "yarn run build && standard-version", | ||
"release:npm": "git push --follow-tags origin master; npm publish" | ||
"release": "yarn run build && standard-version" | ||
}, | ||
@@ -61,4 +60,5 @@ "scripts-info": { | ||
"tslib": "^1.6.0", | ||
"tslint": "^4.4.2", | ||
"tslint": "^4.5.1", | ||
"tslint-config-standard": "^4.0.0", | ||
"tslint-microsoft-contrib": "^4.0.1", | ||
"typedoc": "^0.5.7", | ||
@@ -65,0 +65,0 @@ "typescript": "^2.2.1" |
@@ -89,2 +89,19 @@ # hawkly tracer for javascript (opentracing) | ||
The helper for `childOf` is part of the spec, but `followsFrom` is not. If you want to write the most portable instrumentation you can | ||
alternitively write the following when you need a `followsFrom`, as it's part of the spec and will work with other tracers too. | ||
```javascript | ||
// Make sure you import opentracing | ||
import opentracing from 'opentracing'; | ||
// create a tracer as you normally would, then create your followsFrom span like this: | ||
tracer.startSpan("operation name", { | ||
references: [ | ||
opentracing.followsFrom(parentContext), | ||
], | ||
} | ||
) | ||
``` | ||
### How to cross a process boundary / Distributed Tracing | ||
@@ -91,0 +108,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { Span } from './tracer/span'; | ||
import { Tracer } from './tracer/tracer'; | ||
import { Span } from './tracer/Span'; | ||
import { Tracer } from './tracer/Tracer'; | ||
export { | ||
@@ -4,0 +4,0 @@ Tracer, |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
301139
2533
176
16
1