Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-1358

RFE to skip metering an instance when a specific label is set

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-07-30 - API
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • True
    • XCMSTRAT-65 - Hybrid billing with SaaS for ROSA
    • 5

      As OCM, I want subscription watch to skip metering certain instances which are of billing_model="marketplace". In these instances the metering is performed by the cloud provider, and not by RH, so swatch should ignore these instances altogether.

      Specifically, swatch should ignore any systems having metered_by_rh = false.

      Accordingly, the query should include an additional filter: 

      {metered_by_rh!='false'}

      The promql filtering can be tested with ROSA as they are already submitting data that uses this label. ROSA classic is identified with product moa. 

              awood1@redhat.com Alex Wood
              khowell@redhat.com Kevin Howell
              Diego de Oliveira Maranhao Diego de Oliveira Maranhao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: