Merge pull request #2816 from vgramer/doc_log_format_add_ingress_info_vars

doc log-format: add variables about ingress
This commit is contained in:
k8s-ci-robot 2018-07-19 12:35:17 -07:00 committed by GitHub
commit 9bf919a43b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,15 @@ log_format upstreaminfo
| `$upstream_response_time` | time spent on receiving the response from the upstream server as seconds with millisecond resolution |
| `$upstream_status` | status code of the response obtained from the upstream server |
Additional available variables:
| Placeholder | Description |
|-------------|-------------|
| `$namespace` | namespace of the ingress |
| `$ingress_name` | name of the ingress |
| `$service_name` | name of the service |
| `$service_port` | port of the service |
Sources: