From 2539bd6aec97d7cd4451147f2598d4865e46eec9 Mon Sep 17 00:00:00 2001 From: Pengyuan Bian Date: Tue, 3 Jul 2018 08:51:10 -0700 Subject: [PATCH 1/3] Add two new attributes: request.url_path and request.queries --- mixer/v1/global_dictionary.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mixer/v1/global_dictionary.yaml b/mixer/v1/global_dictionary.yaml index fb72c02688..eafa06e491 100644 --- a/mixer/v1/global_dictionary.yaml +++ b/mixer/v1/global_dictionary.yaml @@ -68,6 +68,8 @@ - request.size - request.time - request.useragent +- request.queries +- request.url_path - response.headers - response.size - response.time From 384f2f0170e9d7dc3adb4483d6e52f08fcda77ff Mon Sep 17 00:00:00 2001 From: Pengyuan Bian Date: Tue, 3 Jul 2018 09:53:23 -0700 Subject: [PATCH 2/3] move new fields to the end. Rename query to query_params. --- mixer/v1/global_dictionary.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mixer/v1/global_dictionary.yaml b/mixer/v1/global_dictionary.yaml index eafa06e491..092429a2ef 100644 --- a/mixer/v1/global_dictionary.yaml +++ b/mixer/v1/global_dictionary.yaml @@ -68,8 +68,6 @@ - request.size - request.time - request.useragent -- request.queries -- request.url_path - response.headers - response.size - response.time @@ -291,3 +289,9 @@ # SNI, for TLS connections - connection.requested_server_name + +# url_path and query_params are derived from http path header. +# url_path is the path part of a url, with query params being stripped +# query_params is the query part of a url. +- request.url_path +- request.query_params From 3b4eea4af07666ea79f2ba60e0ffba16c8cc7d44 Mon Sep 17 00:00:00 2001 From: Pengyuan Bian Date: Fri, 3 Aug 2018 11:52:53 -0700 Subject: [PATCH 3/3] Update comment. --- mixer/v1/global_dictionary.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mixer/v1/global_dictionary.yaml b/mixer/v1/global_dictionary.yaml index 092429a2ef..7627f9777f 100644 --- a/mixer/v1/global_dictionary.yaml +++ b/mixer/v1/global_dictionary.yaml @@ -291,7 +291,7 @@ - connection.requested_server_name # url_path and query_params are derived from http path header. -# url_path is the path part of a url, with query params being stripped -# query_params is the query part of a url. +# url_path is the path part of a url, with query params being stripped. +# query_params is the normalized query part of a url. - request.url_path - request.query_params