Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-3577

Scrape storage-offload populator pods for offload usage metrics

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Controller
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected

      Expand the metrics reporting of MTV with the storage offloads metrics by scraping the metrics exposed by the populator pods so customers can see how fast disks are cloned.

      Currently we expose a 'progress' counter (there from 2.8) and with https://github.com/kubev2v/forklift/pull/2523 we will have a counter for the number of bytes copied using XCOPY. That will indicate if an efficient offloaded copy was in use or not, and if not we would like to reflect that (that could indicate infra errors/misconfiguratio in various places)

      One caveat: the metric server runs in the background of the popualtor process, and when the populator terminates the scraping target may disappear before it can reflect matching number of bytes copied with xcopy. We can fix that by sleeping in the end a period which equals to the scraping interval. not a best solution, but could work. The scraping interval is not a shared value I guess, eventhough it goes under a configmap of some sort...

              rh-ee-solenoci Stefan Olenocin
              rgolan1@redhat.com Roy Golan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: