istio / old_issues_repo

Deprecated issue-tracking repo, please post new issues or feature requests to istio/istio instead.
37 stars 9 forks source link

Create Mixer attribute for request path without query string #107

Open TimDumol opened 7 years ago

TimDumol commented 7 years ago

Is this a BUG or FEATURE REQUEST?: Feature Request

Did you review existing epics or issues to identify if this already being worked on? (please try to add the correct labels and epics): label: mixer

Bug: N

What Version of Istio and Kubernetes are you using, where did you get Istio from, Installation details

istioctl version
Version: 0.2.7
GitRevision: 6b145c189aad8306b13af1725123bebfbc7eefd4
GitBranch: master
User: root@f1eeb85f62ab
GolangVersion: go1.8.3
(Installed via Github downloads/releases)

kubectl version:
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-08-31T09:14:02Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-10-06T20:53:14Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Is Istio Auth enabled or not ? No (installed istio.yml)

Feature Request: Y

Describe the feature:

The attribute vocabulary includes request.path, which has the HTTP URL path including query string. It would be convenient to have an attribute exposing the HTTP URL path without the query string. My use case for this is that I want to use Istio's metrics to record latency for each endpoint in each service in Prometheus, and I want to ignore the query strings.

Another way would be if there was a way to remove the query string from request.path, but there isn't any documented way to do so in the Expression Language section of the documentation.

huydinhle commented 6 years ago

is there any update on this feature ?