RestClient observation uri
tag handling of query parameters
#34176
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: waiting-for-triage
An issue we've not yet triaged or decided on
I have a project where I noticed a behavior in the
http.client.requests
metric coming fromRestClient
that's defined via such interface:resulting in
http.client.requests
metric with suchuri
tags:depending on how many of the optional query params are non-null.
My issue is mainly with the cryptic names of the query params:
queryParam0
&queryParam1
. Could it be somehow possible to default these to use thename
orvalue
passed in theRequestParam
annotation, and only use these basic placeholder names if custom name/value is not available? So in this case I'd expect theuri
tag to include such items:And currently, to work around this issue I am considering adding such a custom ClientRequestObservationConvention when I build the RestClient:
The text was updated successfully, but these errors were encountered: