Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20558

Ability to use the old Micrometer meter names does not work on MicrometerExchangeEventNotifier

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Patch Available
    • Novice
    • Patch

    Description

      Doing this:

      MicrometerExchangeEventNotifier exchangeEventNotifier = new MicrometerExchangeEventNotifier();        exchangeEventNotifier.setNamingStrategy(MicrometerExchangeEventNotifierNamingStrategy.LEGACY);
      

      does not change the ways metrics produced by the exchangeEventNotifier will be named.

       

      Please find attached a proposed patch to fix the issue.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sebastien-perpignane Sébastien Perpignane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment