Measuring response time in open rasta

131 views Asked by At

What is the best way to do this?

I was thinking about something like:

    public void Initialize(IPipeline pipelineRunner)
    {
        pipelineRunner
            .Notify(CaptureRequestStartTime)
            .Before<KnownStages.IBegin>();

        pipelineRunner
            .Notify(LogRequestTimeWithStatsd)
            .After<KnownStages.IEnd>();
    }

but a bit of advice from someone who knows the internals might be useful.

Is it possible to add custom http handlers in open rasta?

0

There are 0 answers