add new nginx metrics to measure performance

This commit is contained in:
Karol Wypchlo 2021-01-13 15:13:34 +01:00
parent 83a2170afc
commit 6053cb3eb2
1 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,10 @@ http {
'"$http_user_agent" $upstream_response_time ' '"$http_user_agent" $upstream_response_time '
'$upstream_bytes_sent $upstream_bytes_received ' '$upstream_bytes_sent $upstream_bytes_received '
'"$upstream_http_content_type" "$upstream_cache_status" ' '"$upstream_http_content_type" "$upstream_cache_status" '
'"$portal_domain" "$upstream_http_skynet_skylink"'; '"$portal_domain" "$upstream_http_skynet_skylink" '
'request_time=$request_time '
'upstream_connect_time=$upstream_connect_time '
'upstream_header_time=$upstream_header_time';
access_log logs/access.log main; access_log logs/access.log main;