An object containing:
beforeRequest: Records the start timestamp in the context metadata.afterResponse: Computes elapsed time and sets durationMs in context metadata.Records the start timestamp in the context metadata.
Computes elapsed time and sets durationMs in context metadata.
Hook: measure request timing and attach to response meta.