@opencensus/exporter-instana
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -46,5 +46,5 @@ /** | ||
publish(rootSpans: RootSpan[]): Promise<void>; | ||
private translateRootSpans(rootSpans); | ||
private translateSpan(span); | ||
private transmit(spans); | ||
private translateRootSpans; | ||
private translateSpan; | ||
private transmit; | ||
} |
@@ -24,3 +24,3 @@ "use strict"; | ||
SERVER: 'ENTRY', | ||
LOCAL: 'INTERMEDIATE', | ||
UNSPECIFIED: 'INTERMEDIATE', | ||
}; | ||
@@ -81,4 +81,4 @@ class InstanaTraceExporter { | ||
name: span.name, | ||
type: spanKindTranslation[span.kind] || span.kind, | ||
error: span.status != null && span.status !== 0, | ||
type: spanKindTranslation[span.kind], | ||
error: span.status != null && span.status.code !== 0, | ||
data: Object.keys(span.attributes) | ||
@@ -85,0 +85,0 @@ .reduce((agg, key) => { |
{ | ||
"name": "@opencensus/exporter-instana", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "OpenCensus Instana Exporter allows the user to send collected traces with OpenCensus Node.js to Instana.", | ||
@@ -9,3 +9,4 @@ "main": "build/src/index.js", | ||
"scripts": { | ||
"test": "nyc -x '**/test/**' --reporter=html --reporter=text mocha 'build/test/**/*.js'", | ||
"test": "nyc mocha build/test/**/*.js", | ||
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json", | ||
"clean": "rimraf build/*", | ||
@@ -48,13 +49,14 @@ "check": "gts check", | ||
"@types/uuid": "^3.4.3", | ||
"codecov": "^3.1.0", | ||
"gts": "^0.9.0", | ||
"mocha": "^5.0.4", | ||
"ncp": "^2.0.0", | ||
"nock": "^9.2.6", | ||
"nyc": "11.6.0", | ||
"nock": "^10.0.0", | ||
"nyc": "13.1.0", | ||
"ts-node": "^7.0.1", | ||
"typescript": "~2.6.1" | ||
"typescript": "~3.2.0" | ||
}, | ||
"dependencies": { | ||
"@opencensus/core": "^0.0.8" | ||
"@opencensus/core": "^0.0.9" | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
23149
1
13
+ Added@opencensus/core@0.0.9(transitive)
- Removed@opencensus/core@0.0.8(transitive)
Updated@opencensus/core@^0.0.9