HTTP variables
$upstream_queue_time variable (HTTP)
Duration awaiting a peer in the upstream queue. Do not confuse it with connect time or application processing. Version: 1.13.9. seconds to millisecond precision; queue feature is commercial and this variable is absent on local OSS 1.26.3 No positional arguments. Example: partial http configuration for a disposable synthetic lab; not a complete deployment.
Formal Syntax & Structure
nginx syntaxnginx
$upstream_queue_timeWorking Example
Example Snippetnginx
# Classify presence without emitting raw backend metadata.map $upstream_queue_time $lab_seen_upstream_queue_time { "" absent; default present;}