Project

General

Profile

Actions

Feature #21599

open

_inspect/requests endpoint should reveal whether each request is queued or active

Added by Tom Clegg about 1 month ago.

Status:
New
Priority:
Normal
Assigned To:
Category:
API
Target version:
-
Story points:
-

Description

This is a little inconvenient because the queue decision happens lower in the handler stack than the inspector (and we don't want to change that).

We can do something similar to responseLogFieldsContextKey in source:sdk/go/httpserver/logger.go -- attach an atomic.Value to the request context as it passes through the Inspect handler, then have RequestLimiter Store() queue status there (queue label, time the request was released for processing), and Load() when generating the _inspect/requests report.

No data to display

Actions

Also available in: Atom PDF