Skip to content

Commit

Permalink
Merge pull request #17 from Intellection/log_x_proxy_backend_latency_…
Browse files Browse the repository at this point in the history
…headers

[SRE-3200] Log X-Proxy-Backend latency headers
  • Loading branch information
itskingori authored Oct 16, 2023
2 parents dffdcc2 + 9d3c2e5 commit 542c3b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.25.2-3

* Log `X-Proxy-Backend` latency headers.

## 1.25.2-2

* Add `X-Proxy-Backend` latency headers.
Expand Down
3 changes: 3 additions & 0 deletions config/log.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ log_format main_json escape=json
'"http_user_agent":"$http_user_agent",'
'"http_x_amzn_trace_id":"$http_x_amzn_trace_id",'
'"http_x_forwarded_for":"$http_x_forwarded_for",'
'"http_x_proxy_backend_connect_time":"$upstream_connect_time",'
'"http_x_proxy_backend_header_time":"$upstream_header_time",'
'"http_x_proxy_backend_total_time":"$request_time",'
'"proxy_connection":"$proxy_connection",'
'"proxy_x_forwarded_port":"$proxy_x_forwarded_port",'
'"proxy_x_forwarded_proto":"$proxy_x_forwarded_proto",'
Expand Down

0 comments on commit 542c3b6

Please sign in to comment.