Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-12729

Prometheus and CREST monitoring endpoint config upgrade step required

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.5.0, 5.5.1, 6.0.0, 5.5.2
    • Fix Version/s: 6.0.0
    • Component/s: monitoring
    • Labels:
    • Target Version/s:
    • Needs backport:
      No
    • Needs QA verification:
      No
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      Fresh installs of AM 6.0.0 generate config for a Prometheus and CREST monitoring endpoint. These can be seen by navigating to:

      Configure > Global Services > Monitoring > Secondary Configurations
      

      Unfortunately, when upgrading from an earlier version of AM, these configurations are not present.

      How to reproduce the issue

      Details steps outlining how to recreate the issue (remove this text)

      1. Install an earlier version of AM
      2. Upgrade to AM 6.0.0
      3. Navigate to Configure > Global Services > Monitoring > Secondary Configurations
      Expected behaviour
      Entries are listed for Prometheus and CREST.
      
      Current behaviour
      No entries are listed for Prometheus or CREST.
      

      Work around

      Manually create entries of the appropriate type. These must be named "prometheus" and "crest" respectively in order to be located by org.forgerock.openam.monitoring.configuration.MonitoringManager. An upgrade step is required to add these. Additionally, the way MonitoringManager locates the required entry could be made more robust by using any config of the correct type rather than explicitly looking for one of the required name.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                phillcunnington Phill Cunnington
                Reporter:
                craig.mcdonnell Craig McDonnell
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: