Maik T created CXF-8588:
---------------------------

             Summary: Micrometer operation UNKNOWN for clients
                 Key: CXF-8588
                 URL: https://issues.apache.org/jira/browse/CXF-8588
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 3.4.4
            Reporter: Maik T


When setting up an RS client proxy via interface and configuring the Micrometer 
feature as documented, the operation is always set to UNKNOWN:
 
[...]operation.UNKNOWN[...] 
 
It seems to miss BindingOperationInfo which is not set to Exchange. Refer to 
org.apache.cxf.message.MessageUtils.getTargetMethod(Message)
 
My workaround was to write my own client-specific TagsCustomizer which reads 
Method.class from Exchange.
Notice, only clients are affected. For servers, metrics work as 
expected/documented.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to