@opencensus/exporter-instana
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -16,3 +16,3 @@ /** | ||
*/ | ||
import { Exporter, ExporterBuffer, ExporterConfig, RootSpan } from '@opencensus/core'; | ||
import { Exporter, ExporterBuffer, ExporterConfig, Span } from '@opencensus/core'; | ||
import { Logger } from '@opencensus/core'; | ||
@@ -31,4 +31,4 @@ export interface InstanaExporterOptions extends ExporterConfig { | ||
constructor(options?: InstanaExporterOptions); | ||
onStartSpan(root: RootSpan): void; | ||
onEndSpan(root: RootSpan): void; | ||
onStartSpan(span: Span): void; | ||
onEndSpan(span: Span): void; | ||
/** | ||
@@ -47,3 +47,3 @@ * Sends spans to Instana. | ||
*/ | ||
publish(rootSpans: RootSpan[]): Promise<void>; | ||
publish(rootSpans: Span[]): Promise<void>; | ||
private translateRootSpans; | ||
@@ -50,0 +50,0 @@ private translateSpan; |
@@ -36,5 +36,5 @@ "use strict"; | ||
} | ||
onStartSpan(root) { } | ||
onEndSpan(root) { | ||
this.exporterBuffer.addToBuffer(root); | ||
onStartSpan(span) { } | ||
onEndSpan(span) { | ||
this.exporterBuffer.addToBuffer(span); | ||
} | ||
@@ -41,0 +41,0 @@ /** |
{ | ||
"name": "@opencensus/exporter-instana", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "OpenCensus Instana Exporter allows the user to send collected traces with OpenCensus Node.js to Instana.", | ||
@@ -58,5 +58,5 @@ "main": "build/src/index.js", | ||
"gts": "^0.9.0", | ||
"mocha": "^6.0.0", | ||
"mocha": "^6.1.0", | ||
"nock": "^10.0.0", | ||
"nyc": "13.3.0", | ||
"nyc": "14.0.0", | ||
"ts-mocha": "^6.0.0", | ||
@@ -67,4 +67,4 @@ "ts-node": "^8.0.0", | ||
"dependencies": { | ||
"@opencensus/core": "^0.0.11" | ||
"@opencensus/core": "^0.0.12" | ||
} | ||
} |
23476
+ Added@opencensus/core@0.0.12(transitive)
- Removed@opencensus/core@0.0.11(transitive)
Updated@opencensus/core@^0.0.12