Is your feature request related to a problem? Please describe.
There is a desire to support telemetry related to http endpoints. Right now, the API Mgmt support does not exist in Istio to allow mapping to api.operation via OpenAPI. A method for trimming down request.path to just the essentials is needed to fill the void.
Describe the solution you'd like
Add a func like: urlPath(string) to the expression language. It should function as follows:
endpoint: urlPath(request.path) | "unknown"
Given: request.path = "/foo/bar?x=10&mesh=istio", it should produce "/foo/bar".
Describe alternatives you've considered
N/A
Additional context
N/A
Is your feature request related to a problem? Please describe.
There is a desire to support telemetry related to http endpoints. Right now, the API Mgmt support does not exist in Istio to allow mapping to
api.operationvia OpenAPI. A method for trimming downrequest.pathto just the essentials is needed to fill the void.Describe the solution you'd like
Add a func like:
urlPath(string)to the expression language. It should function as follows:Given:
request.path = "/foo/bar?x=10&mesh=istio", it should produce"/foo/bar".Describe alternatives you've considered
N/A
Additional context
N/A