Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opencensus/exporter-instana

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencensus/exporter-instana - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

17

build/src/instana.d.ts

@@ -16,4 +16,5 @@ /**

*/
import { classes, types } from '@opencensus/opencensus-core';
export interface InstanaExporterOptions extends types.ExporterConfig {
import { Exporter, ExporterBuffer, ExporterConfig, RootSpan } from '@opencensus/core';
import { Logger } from '@opencensus/core';
export interface InstanaExporterOptions extends ExporterConfig {
agentHost?: string;

@@ -23,11 +24,11 @@ agentPort?: number;

}
export declare class InstanaTraceExporter implements types.Exporter {
export declare class InstanaTraceExporter implements Exporter {
agentHost: string;
agentPort: number;
transmissionTimeout: number;
exporterBuffer: classes.ExporterBuffer;
logger: types.Logger;
exporterBuffer: ExporterBuffer;
logger: Logger;
constructor(options?: InstanaExporterOptions);
onStartSpan(root: types.RootSpan): void;
onEndSpan(root: types.RootSpan): void;
onStartSpan(root: RootSpan): void;
onEndSpan(root: RootSpan): void;
/**

@@ -46,3 +47,3 @@ * Sends spans to Instana.

*/
publish(rootSpans: types.RootSpan[]): Promise<Error>;
publish(rootSpans: RootSpan[]): Promise<void>;
private translateRootSpans(rootSpans);

@@ -49,0 +50,0 @@ private translateSpan(span);

@@ -18,3 +18,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const opencensus_core_1 = require("@opencensus/opencensus-core");
const core_1 = require("@opencensus/core");
const core_2 = require("@opencensus/core");
const http_1 = require("http");

@@ -28,4 +29,4 @@ class InstanaTraceExporter {

this.transmissionTimeout = options.transmissionTimeout || 10000;
this.logger = options.logger || opencensus_core_1.logger.logger();
this.exporterBuffer = new opencensus_core_1.classes.ExporterBuffer(this, options);
this.logger = options.logger || core_2.logger.logger();
this.exporterBuffer = new core_1.ExporterBuffer(this, options);
}

@@ -32,0 +33,0 @@ onStartSpan(root) { }

{
"name": "@opencensus/exporter-instana",
"version": "0.0.2",
"version": "0.0.3",
"description": "OpenCensus Instana Exporter allows the user to send collected traces with OpenCensus Node.js to Instana.",

@@ -56,4 +56,4 @@ "main": "build/src/index.js",

"dependencies": {
"@opencensus/opencensus-core": "^0.0.2"
"@opencensus/core": "^0.0.3"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc