jaeger-tracer
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,5 +5,5 @@ 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 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, options: import("./interfaces/jaeger-client-config.interface").Options) => (req: import("express-serve-static-core").Request, res: import("express-serve-static-core").Response, next: Function) => void; | ||
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("continuation-local-storage").Namespace; | ||
export declare let unirestWrapper: (unirest: any) => any; | ||
export declare let requestWrapper: (request: any) => any; |
import { Request, Response } from "express-serve-static-core"; | ||
import { Config, Options } from "./interfaces/jaeger-client-config.interface"; | ||
export declare let jaegarTracerMiddleWare: (serviceName: string, config: Config, options: Options) => (req: Request, res: Response, next: Function) => void; | ||
export declare let jaegarTracerMiddleWare: (serviceName: string, config?: Config | undefined, options?: Options | undefined) => (req: Request, res: Response, next: Function) => void; |
{ | ||
"name": "jaeger-tracer", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "client library for jaegar to ease out the instrumenting in express and any other backend application in nodejs", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -14,3 +14,3 @@ import { Request, Response } from "express-serve-static-core"; | ||
*/ | ||
export let jaegarTracerMiddleWare = (serviceName: string, config: Config, options: Options) => { | ||
export let jaegarTracerMiddleWare = (serviceName: string, config?: Config, options?: Options) => { | ||
@@ -17,0 +17,0 @@ // initiating the tracer outside the middleware so we dont have to initiate it everytime a request comes |
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
65337