-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update default value handling for archive
Drop defaults as these are not functional. The way the config is written a value must be provided in config. - Treat a 0 or 1 in bytes limit as "disable archive" - Treat < 1 in retention period as "disable archive" - Treat < 0 in bytes limit as no limit
- Loading branch information
1 parent
0a5f1ad
commit 91b0e70
Showing
12 changed files
with
91 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
billing_interval: monthly | ||
product_code: foo | ||
query_interval: 3600 | ||
reporting_api_is_cumulative: true | ||
reporting_interval: 3600 | ||
archive_retention_period: 0 | ||
archive_bytes_limit: -1 | ||
usage_metrics: | ||
managed_node_count: | ||
consumption_reporting: volume | ||
dimensions: | ||
- dimension: tier_1 | ||
max: 15 | ||
min: 0 | ||
- dimension: tier_2 | ||
max: 50 | ||
min: 16 | ||
- dimension: tier_3 | ||
max: 100 | ||
min: 51 | ||
- dimension: tier_4 | ||
max: 250 | ||
min: 101 | ||
- dimension: tier_5 | ||
max: 1000 | ||
min: 251 | ||
- dimension: tier_6 | ||
min: 1001 | ||
min_consumption: 5 | ||
usage_aggregation: average | ||
version: 1.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters