node-sleuth
Version:
A zipkin sleuth impelement for general node.
12 lines (11 loc) • 488 B
TypeScript
import { TraceId } from 'zipkin';
import { IInjector } from './i-injector';
export declare abstract class AbstractInjector implements IInjector {
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);
inject(attachments: any, traceId: TraceId): void;
}