You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Maik T (Jira)" <ji...@apache.org> on 2021/09/01 08:16:00 UTC

[jira] [Created] (CXF-8588) Micrometer operation UNKNOWN for clients

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)