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

Update swatch-tally to emit tally summaries with granularities HOURLY and DAILY

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Swatch Thunder Sprint 1, Swatch Thunder Sprint 2

      At the moment, the tally summary producer logic is to emit messages with HOURLY granularity among other criteria as defined in here: https://github.com/RedHatInsights/rhsm-subscriptions/blob/4055a8a13c980572d56cdb7f1fb5c395bf6d205c/src/main/java/org/candlepin/subscriptions/tally/SnapshotSummaryProducer.java#L102

      Open questions:

      • should we keep the filter by any measurements? What about the service level filter? Hourly and Daily snapshots work the same or do we need to have a different filter for each?

      Acceptance Criteria

      • Emit snapshots with granularity DAILY
      • Update the getCurrentlyMeasuredTotal to calculate the totalValue by DAILY or HOURLY, not always HOURLY (link)
      • Verify billing producer is filtering just to HOURLY summary

              rhn-engineering-wpoteat William Poteat
              jcarvaja@redhat.com Jose Carvajal Hilario
              Trayvon McKnight Trayvon McKnight
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: