Skip to content

Commit

Permalink
[COST-5170] - POC on XL manifest reports
Browse files Browse the repository at this point in the history
  • Loading branch information
lcouzens committed Dec 3, 2024
1 parent 3d8ded0 commit 678f71f
Show file tree
Hide file tree
Showing 30 changed files with 170 additions and 3 deletions.
48 changes: 48 additions & 0 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -868,6 +870,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -1353,6 +1357,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -1535,6 +1541,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -1723,6 +1731,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -1911,6 +1921,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -2101,6 +2113,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -2293,6 +2307,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -2485,6 +2501,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -2675,6 +2693,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -2865,6 +2885,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -3055,6 +3077,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -3247,6 +3271,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -3443,6 +3469,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -3639,6 +3667,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -3833,6 +3863,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -4021,6 +4053,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -4209,6 +4243,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -4397,6 +4433,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -4589,6 +4627,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -4781,6 +4821,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -4975,6 +5017,8 @@ objects:
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down Expand Up @@ -5895,6 +5939,10 @@ parameters:
- displayName: Provider count for batch polling
name: POLLING_BATCH_SIZE
value: "100"
- description: Minimum number of reports before provider classed as XL
displayName: Min report count for large providers
name: XL_REPORT_COUNT
value: "100"
- displayName: Timer to prevent triggering tasks while still processing in days
name: PROCESSING_WAIT_TIMER
value: "3"
Expand Down
4 changes: 4 additions & 0 deletions deploy/kustomize/base/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,10 @@ parameters:
- displayName: Provider count for batch polling
name: POLLING_BATCH_SIZE
value: "100"
- description: Minimum number of reports before provider classed as XL
displayName: Min report count for large providers
name: XL_REPORT_COUNT
value: "100"
- displayName: Timer to prevent triggering tasks while still processing in days
name: PROCESSING_WAIT_TIMER
value: "3"
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/masu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-celery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-cost-model-penalty.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-cost-model-xl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-cost-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-download-penalty.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-download-xl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-hcs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-ocp-penalty.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-ocp-xl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-ocp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-priority-penalty.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-priority-xl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-priority.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-refresh-penalty.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-refresh-xl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-refresh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
2 changes: 2 additions & 0 deletions deploy/kustomize/patches/worker-summary-penalty.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
value: ${POLLING_TIMER}
- name: POLLING_BATCH_SIZE
value: ${POLLING_BATCH_SIZE}
- name: XL_REPORT_COUNT
value: ${XL_REPORT_COUNT}
- name: PROCESSING_WAIT_TIMER
value: ${PROCESSING_WAIT_TIMER}
- name: LARGE_PROCESSING_WAIT_TIMER
Expand Down
Loading

0 comments on commit 678f71f

Please sign in to comment.