Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-809

[Custom metrics] Exported issues which move from "Error" to "New" state are counted twice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • MTA 6.2.0
    • MTA 6.2.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      Once issue MTA-696 is reproduced, the `konveyor_issues_exported_total`counter is increased twice for issues that moved from "Error" state to "New" state

      Version-Release number of selected component (if applicable):

      mta-operator-bundle-container-6.2.0-19

      How reproducible:

      100%

      Steps to Reproduce:

      1. Set up a Jira cloud instance, create two applications, a migration wave, and associate these applications to that migration wave.
      2. Export the migration wave to the Jira instance.
      3. Within the mta-hub pod, type:

      curl http://localhost:2112/metrics | grep -i konveyor_issues_exported_total
      

      Actual results:

      Exported issues that moved from "Error" state to "New" state are counted twice

      Additional info:

      MTA-696

            slucidi@redhat.com Samuel Lucidi
            mguetta1 Maayan Hadasi
            Maayan Hadasi Maayan Hadasi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: