Index

src/cls/async-hooks.ts

AsyncHooksModule
ContextWrapped

src/plugins/plugin-bluebird.ts

BluebirdModule

src/plugins/plugin-grpc.ts

Callback
function
ClientMethod
MakeClientConstructorFunction
function
Metadata
MetadataModule
Server
ServerBidiectionalStreamingHandler
function
ServerClientStreamingHandler
function
ServerDuplexStream
ServerHandler
ServerUnaryCallHandler<S | T> | ServerServerStreamingHandler<S> | ServerClientStreamingHandler<S | T> | ServerBidiectionalStreamingHandler<S | T>
ServerRegisterFunction
ServerServerStreamingHandler
function
ServerUnaryCallback
function
ServerUnaryCallHandler
function
ServerWriteableStream

src/plugins/plugin-pg.ts

Callback
function
ClientQueryArguments
| |
PG7QueryReturnValue
| Promise<pg_7.QueryResult>

src/config.ts

CLSMechanism
"async-hooks" | "async-listener" | "auto" | "none" | "singular"
ContextHeaderBehavior
"default" | "ignore" | "require"

src/cls/async-listener.ts

CLSModule

src/plugins/plugin-connect.ts

Connect3
Request

src/logger.ts

ConsoleLogLevel
"error" | "warn" | "info" | "debug"
LogLevel
"silent" | ConsoleLogLevel

src/plugins/plugin-koa.ts

CreateMiddlewareFn
function
GetNextFn
function
Koa1Module
Koa2Module
KoaContext

src/plugins/plugin-restify.ts

CreateServerFn
function
Next
restify_5.Next
Request
Response
restify_5.Response
Restify5

src/plugins/plugin-express.ts

Express4Module

src/util.ts

Forceable

src/plugin-types.ts

Func
function
GetHeaderFunction
function
Patch
Monkeypatch<T> | Intercept<T>
Plugin
Array<Patch<any>>
SetHeaderFunction
function

src/cls/base.ts

Func
function

src/plugins/plugin-hapi.ts

Hapi16Module
Hapi17Request

src/plugins/plugin-http2.ts

Http2Module
Http2SessionRequestFunction
function

src/plugins/plugin-http.ts

HttpModule
HttpsModule
RequestFunction

src/cls.ts

RootContext

This type represents the minimal information to store in continuation-local storage for a request. We store either a root span corresponding to the request, or a sentinel value (UNCORRELATED_SPAN or UNTRACED_SPAN) that tells us that the request is not being traced (with the exact sentinel value specifying whether this is on purpose or by accident, respectively).

When we store an actual root span, the only information we need is its current trace/span fields.

src/tracing.ts

TopLevelConfig
Forceable<literal type> | literal type

results matching ""

    No results matching ""