@lucid-softworks/http-observability
v0.1.0
Published
HTTP request timing and outcome observation middleware.
Maintainers
Readme
@lucid-softworks/http-observability
Request timing and outcome observations.
import {
MemoryHttpObservationSink,
httpObservability,
} from "@lucid-softworks/http-observability";
const sink = new MemoryHttpObservationSink();
app.use(httpObservability({ sink }));Exactly one response or error observation is emitted per invocation with URL, method, request ID, duration, and status or thrown value.
