Uploaded image for project: 'RH Developer Hub Planning'
  1. RH Developer Hub Planning
  2. RHDHPLAN-323

Scorecard - Error messages for failed metrics

Create Doc EPIC from R...Prepare for Z ReleasePrepare Test Plan (Y R...XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      It would be beneficial to dynamically display specific troubleshooting information based on a metric's evaluation result.

      Currently, the UI cards display a static description, which doesn’t help users when a metric fails, and adding static troubleshooting details can clutter the UI when metrics are successful.

      The troubleshooting information could be returned by the metric providers during evaluation. This would allow for dynamic error messages to be displayed for a given metric.

      Example Use Case:

      In IT Developer Hub, we intend to implement a custom metric provider to enforce a valid ServiceNow AppCode annotation on every entity. However, there are multiple ways the evaluation can fail. The metric provider should be able to return distinct error messages (status) which are then displayed in the UI, such as:

      • One message when the required entity annotation is completely missing.
      • A different message when the annotation is present, but the specified AppCode is invalid.

              Unassigned Unassigned
              skosina@redhat.com Simon Kosina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: