Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8 from rebuy-de/dfreudenberger-patch-1
Browse files Browse the repository at this point in the history
fix regular expression
  • Loading branch information
dfreudenberger authored Nov 11, 2018
2 parents 2f07cc5 + b789c54 commit 2c8e374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/nginx.mtail
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ counter nginx_response_size_bytes_sum by vhost, method, code, cache_status
/"(?P<http_referer>\S+)" / +
/"(?P<http_user_agent>[[:print:]]+)" / +
/"(?P<content_type>[^;\\]+)(;.*)?" / +
/"(?P<upstream_cache_status>([[:print:]]))?"/ +
/"(?P<upstream_cache_status>[[:print:]]+)?"/ +
/$/ {
nginx_requests_total[$vhost][tolower($request_method)][$status][tolower($upstream_cache_status)]++
nginx_response_size_bytes_sum[$vhost][tolower($request_method)][$status][tolower($upstream_cache_status)] += $bytes_sent
Expand Down

0 comments on commit 2c8e374

Please sign in to comment.