Merge pull request #584 from NebulousLabs/new-nginx-metrics-for-performance

add new nginx metrics to measure performance
This commit is contained in:
Ivaylo Novakov 2021-01-15 11:37:42 +01:00 committed by GitHub
commit 5133192347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@ 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" '
'$upstream_connect_time $upstream_header_time '
'$request_time "$hns_domain"';
access_log logs/access.log main; access_log logs/access.log main;