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

@opencensus/exporter-zipkin

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencensus/exporter-zipkin - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

18

build/src/zipkin.d.ts

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

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

@@ -24,7 +24,7 @@ serviceName: string;

/** Zipkin Exporter manager class */
export declare class ZipkinTraceExporter implements types.Exporter {
export declare class ZipkinTraceExporter implements Exporter {
private zipkinUrl;
private serviceName;
buffer: classes.ExporterBuffer;
logger: types.Logger;
buffer: ExporterBuffer;
logger: Logger;
constructor(options: ZipkinExporterOptions);

@@ -35,5 +35,5 @@ /**

*/
onEndSpan(root: types.RootSpan): void;
onEndSpan(root: RootSpan): void;
/** Not used for this exporter */
onStartSpan(root: types.RootSpan): void;
onStartSpan(root: RootSpan): void;
/**

@@ -59,3 +59,3 @@ * Send a trace to zipkin service

*/
publish(rootSpans: types.RootSpan[]): Promise<any>;
publish(rootSpans: RootSpan[]): Promise<any>;
}

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

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

@@ -28,4 +28,4 @@ const url = require("url");

this.serviceName = options.serviceName;
this.buffer = new opencensus_core_1.classes.ExporterBuffer(this, options);
this.logger = options.logger || opencensus_core_2.logger.logger();
this.buffer = new core_1.ExporterBuffer(this, options);
this.logger = options.logger || core_2.logger.logger();
}

@@ -32,0 +32,0 @@ /**

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

@@ -55,4 +55,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