fix daily aggregation report
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -507,6 +507,7 @@ WITH daily AS (
|
||||
), totals AS (
|
||||
SELECT COALESCE(SUM(total_samples_day), 0) AS total_samples FROM enriched
|
||||
)
|
||||
-- monthly averages are weighted by the implied sample counts per day (SamplesPresent / AvgIsPresent)
|
||||
INSERT INTO %s (
|
||||
"InventoryId", "Name", "Vcenter", "VmId", "EventKey", "CloudId", "CreationTime", "DeletionTime",
|
||||
"ResourcePool", "Datacenter", "Cluster", "Folder", "ProvisionedDisk", "VcpuCount",
|
||||
|
||||
Reference in New Issue
Block a user