-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exposing summary_view lookback period in a parameter #958
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,8 @@ Metadata: | |
default: "Deploy KPI Dashboard" | ||
OptimizationDataCollectionBucketPath: | ||
default: "Path to Optimization Data Collection S3 bucket" | ||
MonthsLookback: | ||
default: "Number of months to lookback in summary_view" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Another topic is days to loopback in resource_view and hourly_view. Currently 30 but customers ask to control it as well There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll look into that as well. Thanks! |
||
DeployTAODashboard: | ||
default: "Deploy TAO Dashboard" | ||
DeployComputeOptimizerDashboard: | ||
|
@@ -187,6 +189,11 @@ Parameters: | |
Description: The S3 path to the bucket created by the Cost Optimization Data Collection Lab. The path will need point to a folder containing /trusted-advisor and/or /compute-optimizer folders. You can leave the variable {account_id} in place, it will be replaced by current account ID automatically. | ||
Default: "s3://cid-data-{account_id}" | ||
AllowedPattern: '^s3://[a-zA-Z0-9-_{}/]*$' | ||
MonthsLookback: | ||
Type: String | ||
Description: Number of months of data to capture in summary_view (used on most visuals). Valid range 7 to 24. Default=7 (6 past + 1 current). More months will require more Spice capacity in QuickSight. | ||
Default: "7" | ||
AllowedPattern: '\b(0?[7-9]|1[0-9]|2[0-4])\b' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why limit to 24? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was thinking we need an upper limit. Picked two years. You think we should not have one? |
||
LambdaLayerBucketPrefix: | ||
Type: String | ||
Description: An S3 bucket with a Lambda layer | ||
|
@@ -1644,6 +1651,7 @@ Resources: | |
quicksight-user: !Ref QuickSightUser | ||
account-map-source: 'dummy' #initial | ||
share-with-account: !Ref ShareDashboard | ||
view-summary-view-monthsLookback: !Sub '${MonthsLookback}' | ||
|
||
CUDOSDashboard: | ||
Type: Custom::CidDashboard | ||
|
@@ -1664,6 +1672,7 @@ Resources: | |
quicksight-user: !Ref QuickSightUser | ||
account-map-source: 'dummy' #initial | ||
share-with-account: !Ref ShareDashboard | ||
view-summary-view-monthsLookback: !Sub '${MonthsLookback}' | ||
Tags: # Hacky way to manage conditional dependencies | ||
- Key: IgnoreNeedCostIntelligenceDashboard | ||
Value: !If [NeedCostIntelligenceDashboard, !Ref CostIntelligenceDashboard, ''] | ||
|
@@ -1686,6 +1695,7 @@ Resources: | |
quicksight-user: !Ref QuickSightUser | ||
account-map-source: 'dummy' #initial | ||
share-with-account: !Ref ShareDashboard | ||
view-summary-view-monthsLookback: !Sub '${MonthsLookback}' | ||
Tags: # Hacky way to manage conditional dependencies | ||
- Key: IgnoreNeedCostIntelligenceDashboard | ||
Value: !If [NeedCostIntelligenceDashboard, !Ref CostIntelligenceDashboard, ''] | ||
|
@@ -1708,6 +1718,7 @@ Resources: | |
quicksight-user: !Ref QuickSightUser | ||
account-map-source: 'dummy' #initial | ||
share-with-account: !Ref ShareDashboard | ||
view-summary-view-monthsLookback: !Sub '${MonthsLookback}' | ||
Tags: # Hacky way to manage conditional dependencies | ||
- Key: IgnoreNeedCostIntelligenceDashboard | ||
Value: !If [NeedCostIntelligenceDashboard, !Ref CostIntelligenceDashboard, ''] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only affects summary view, right? Not sure what what would be a right name here.
Also need to make it clear that updating of this parameter wont update the views/datasets/dashboards