Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8588

Micrometer operation UNKNOWN for clients

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.4, 3.3.11
    • 3.5.0, 3.3.12, 3.4.5
    • JAX-RS
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              reta Andriy Redko
              maikt Maik T
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: