Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-3924

Improve GCP customer filtered cloud functions

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • 2023Q2
    • None
    • Data Pipeline
    • None

      Right now our cloud function queries a 5 day window in GCP bigquery but does not have any sensible ordering. This is a potential problem if you have usage data in random orders spread across files.

      Two things to consider:

      1. Ordering the queried data on usage dates so the batched files are more consistent.
      2. Improve our batching logic to not only batch by size but also by usage date!

      Example:

      • day1_p1, day1_p2, day1_p3
      • day2_p1, day2_p2
      • day3_p1

            rhn-support-lcouzens Luke Couzens
            rhn-support-lcouzens Luke Couzens
            Daniel Chorvatovic Daniel Chorvatovic
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: