UNPKG

node-sleuth

Version:

A zipkin sleuth impelement for general node.

14 lines (13 loc) 540 B
import { option, TraceId } from 'zipkin'; import { IEjector } from './i-ejector'; export declare abstract class AbstractEjector implements IEjector { readonly traceIdKey: string; readonly spanIdKey: string; readonly parentSpanIdKey: string; readonly sampledKey: string; readonly debugKey: string; constructor(traceIdKey: string, spanIdKey: string, parentSpanIdKey: string, sampledKey: string, debugKey: string); private readOption; private stringToBoolean; eject(obj: Object): option.IOption<TraceId>; }