HTTP variables
$upstream_connect_time variable (HTTP)
Connection setup duration including upstream TLS negotiation, if used. Version: 1.9.1. seconds to millisecond precision; multiple attempts can produce lists No positional arguments. Example: partial http configuration for a disposable synthetic lab; not a complete deployment.
Formal Syntax & Structure
nginx syntaxnginx
$upstream_connect_timeWorking Example
Example Snippetnginx
# Classify presence without emitting raw backend metadata.map $upstream_connect_time $lab_seen_upstream_connect_time { "" absent; default present;}