Type Aliases
ClientRequestFunction
ClientRequestFunction<ReturnType>: ((...args: unknown[]) => ReturnType)
Type Parameters
Type declaration
- (...args: unknown[]): ReturnType
Parameters
Returns ReturnType
GrpcClientFunc
Grpc
Client
Func
: ((...args
: unknown[]) => GrpcEmitter) & { path
: string; requestStream
: boolean; responseStream
: boolean }GrpcEmitter
GrpcEmitter: EventEmitter & { [CALL_SPAN_ENDED]?: boolean }
IgnoreMatcher
IgnoreMatcher: string | RegExp | ((str: string) => boolean)
metadataCaptureType
metadataCaptureType: { client: { captureRequestMetadata: any; captureResponseMetadata: any }; server: { captureRequestMetadata: any; captureResponseMetadata: any } }
Type declaration
client: { captureRequestMetadata: any; captureResponseMetadata: any }
captureRequestMetadata:function
- captureRequestMetadata(span: Span, metadata: Metadata): void
captureResponseMetadata:function
- captureResponseMetadata(span: Span, metadata: Metadata): void
server: { captureRequestMetadata: any; captureResponseMetadata: any }
captureRequestMetadata:function
- captureRequestMetadata(span: Span, metadata: Metadata): void
captureResponseMetadata:function
- captureResponseMetadata(span: Span, metadata: Metadata): void
Grpc client callback function extended with missing utility types