Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-20482

Improve context name conflict handling with Metrics and Micrometer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 36.0.0.Final
    • 36.0.0.Beta1
    • Metrics, Micrometer
    • None

      As part of WFLY-18582, users will be able to configure a context name from which the Micrometer subsystem servers Prometheus metrics. This context will live on the management interface alongside the WF Metrics context, which uses "/metrics". If the admin configures Micrometer to use "/metrics" but does not disable the WF Metrics subsystem, an ISE will be thrown in Stage.RUNTIME. This conflict should be caught much sooner (Stage.MODEL) so you can't configure incorrectly in admin-only and then have it blow up when you reload/start in normal mode. See Brian's comment here for a possible solution.
       

              jaslee@redhat.com Jason Lee
              jaslee@redhat.com Jason Lee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: