Skip to content

Commit

Permalink
Update cost-anomalies.yaml (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-aws authored Dec 9, 2024
1 parent cd7fdbd commit 8f5fba2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dashboards/cost-anomalies/cost-anomalies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1679,10 +1679,12 @@ views:
FROM
"${data_collection_database_name}"."cost_anomaly_data"
WHERE ("date_parse"("concat"("year", "month", "day"), '%Y%m%d') >= (current_timestamp - INTERVAL '3' MONTH))
schedules:
- default
parameters:
data_collection_database_name:
type: athena
query: SELECT DISTINCT table_schema FROM information_schema.columns WHERE table_name = 'cost_anomaly_data'
default: optimization_data
description: "Enter the name of the data collection database"
global: True
global: True

0 comments on commit 8f5fba2

Please sign in to comment.