koa-opentracing
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -28,8 +28,8 @@ import { | ||
interface Sampler { | ||
isSampled(ctx: Context): Boolean | ||
isSampled(ctx: Koa.Context): Boolean | ||
} | ||
interface zipkinLoggerOptions { | ||
version?: 'v1' | 'v2' = 'v1' | ||
interval?: number = 1000 | ||
version?: 'v1' | 'v2' | ||
interval?: number | ||
endpoint: string | ||
@@ -78,5 +78,5 @@ } | ||
declare class Span extends OpentracingSpan { | ||
get traceId(): string | ||
get spanId(): string | ||
get parentSpanId(): string | ||
traceId: string | ||
spanId: string | ||
parentSpanId: string | ||
getTag(key: string): any | ||
@@ -83,0 +83,0 @@ getTags(): Object |
@@ -5,3 +5,3 @@ { | ||
"types": "global.d.ts", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"repository": "https://github.com/teambition/koa-opentracing.git", | ||
@@ -8,0 +8,0 @@ "author": "cnwangjie", |
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
187098