Create functions for storing and retrieving request IDs
benhalstead opened this issue · comments
Ben Halstead commented
Request instrumentation provides a useful pattern where application logic can recover an Instrumentor using exported functions without a component reference.
Implement a similar pattern for request IDs
Ben Halstead commented
New function ws.RequestID(context.Context) recovers the current request's ID from the context if it has been set.