jaeger-tracer
Advanced tools
Comparing version 1.0.19 to 1.0.20
@@ -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>; |
"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
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
68972
976