Closed haosong closed 5 years ago
https://github.com/opentracing-contrib/java-jaxrs/blob/master/opentracing-jaxrs2/src/main/java/io/opentracing/contrib/jaxrs2/server/OperationNameProvider.java#L74
@GET @Path("/test/{id}/{subid}")
When the path parameters in the given URI have same value such as: /test/1/1, the operation name will be matched as /test/{subid}/{subid}
/test/1/1
/test/{subid}/{subid}
thanks for reporting @song-hao, do you have a fix for this?
@pavolloffay Tried, haven't found the proper way to fix this yet.
https://github.com/opentracing-contrib/java-jaxrs/blob/master/opentracing-jaxrs2/src/main/java/io/opentracing/contrib/jaxrs2/server/OperationNameProvider.java#L74
When the path parameters in the given URI have same value such as:
/test/1/1
, the operation name will be matched as/test/{subid}/{subid}