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

jaeger-tracer

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jaeger-tracer - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

10

build/ClsManager.d.ts

@@ -1,6 +0,4 @@

import { Namespace } from 'cls-hooked';
import { Span } from './interfaces/jaegaer-span.interface';
export declare let associateNMSWithReqBeforeGoingNext: (req: any, res: any, next: Function, mainSpan: Span, interceptorMiddleware: Function) => void;
export declare let saveToCls: (key: string, value: any) => any;
export declare let getFromCls: (key: string) => any;
export declare let getContext: () => Namespace;
export declare let associateNMSWithReqBeforeGoingNext: import("continuation-local-storage").Func<void>;
export declare let saveToCls: import("continuation-local-storage").Func<void>;
export declare let getFromCls: import("continuation-local-storage").Func<void>;
export declare let getContext: import("continuation-local-storage").Func<void>;

4

build/ClsManager.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var cls_hooked_1 = require("cls-hooked");
var continuation_local_storage_1 = require("continuation-local-storage");
var constants_1 = require("./constants");
var session = cls_hooked_1.createNamespace(constants_1.constants.clsNamespace);
var session = continuation_local_storage_1.createNamespace(constants_1.constants.clsNamespace);
exports.associateNMSWithReqBeforeGoingNext = session.bind(function (req, res, next, mainSpan, interceptorMiddleware) {

@@ -7,0 +7,0 @@ session.bindEmitter(req);

export declare let initTracer: (serviceName: string, config?: import("./interfaces/jaeger-client-config.interface").Config, options?: import("./interfaces/jaeger-client-config.interface").Options) => import("./interfaces/jaegar-tracer.interface").Tracer;
export declare let makeSpan: (name: string) => import("./interfaces/jaegaer-span.interface").Span;
export declare let makeSpan: (name: string) => any;
export declare let makeSpanWithParent: (name: string, parentContext: import("./interfaces/jaegaer-span.interface").SpanContext) => import("./interfaces/jaegaer-span.interface").Span;
export declare let spanMaker: (name: string, parentContext: import("./interfaces/jaegaer-span.interface").SpanContext | null, tracer: import("./interfaces/jaegar-tracer.interface").Tracer) => import("./interfaces/jaegaer-span.interface").Span;
export declare let jaegarTracerMiddleware: (serviceName: string, config?: import("./interfaces/jaeger-client-config.interface").Config | undefined, options?: import("./interfaces/jaeger-client-config.interface").Options | undefined) => (req: import("express-serve-static-core").Request, res: import("express-serve-static-core").Response, next: Function) => void;
export declare let getContext: () => import("cls-hooked").Namespace;
export declare let getContext: import("continuation-local-storage").Func<void>;
export declare let unirestWrapper: (unirest: any) => any;
export declare let requestWrapper: (request: any) => any;
import { SpanContext } from "./interfaces/jaegaer-span.interface";
import { Tracer } from "./interfaces/jaegar-tracer.interface";
export declare let spanMaker: (name: string, parentContext: SpanContext | null, tracer: Tracer) => import("./interfaces/jaegaer-span.interface").Span;
export declare let makeSpan: (name: string) => import("./interfaces/jaegaer-span.interface").Span;
export declare let makeSpan: (name: string) => any;
export declare let makeSpanWithParent: (name: string, parentContext: SpanContext) => import("./interfaces/jaegaer-span.interface").Span;
{
"name": "jaeger-tracer",
"version": "1.0.19",
"version": "1.0.20",
"description": "client library for jaegar to ease out the instrumenting in express and any other backend application based on express in nodejs",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -1,2 +0,2 @@

import { createNamespace, Namespace, getNamespace } from 'cls-hooked';
import { createNamespace, Namespace, getNamespace } from 'continuation-local-storage';
import { constants } from './constants';

@@ -3,0 +3,0 @@ import { Span } from './interfaces/jaegaer-span.interface';

Sorry, the diff of this file is not supported yet

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