Skip to content

[AIA-103] Ability to load X days of back data#22

Merged
afiune merged 1 commit intomasterfrom
afiune/historical-data
Mar 9, 2018
Merged

[AIA-103] Ability to load X days of back data#22
afiune merged 1 commit intomasterfrom
afiune/historical-data

Conversation

@afiune
Copy link
Copy Markdown

@afiune afiune commented Mar 9, 2018

This commit is giving chef-load the ability to load a number of days of
back data to the system.

We calculate how many chef-client runs we need to trigger, an example
would be:

For 10 nodes with 30 days of back data converging every 30 minutes
1440m / 30m = 40 (CCR a day) * 30d = 1200 (Total CCRs per Node) * 10 = 12000

The command you would use is:

chef-load generate -d localhost:2000 -n 10 -i 30 --days_back 30

Signed-off-by: Salim Afiune afiune@chef.io

@afiune afiune force-pushed the afiune/historical-data branch from 451b70a to 2696272 Compare March 9, 2018 01:35
This commit is giving chef-load the ability to load a number of days of
back data to the system.

We calculate how many chef-client runs we need to trigger, an example
would be:

For 10 nodes with 30 days of back data converging every 30 minutes
1440m / 30m = 40 (CCR a day) * 30d = 1200 (Total CCRs per Node) * 10 = 12000

The command you would use is:
```
chef-load generate -d localhost:2000 -n 10 -i 30 --days_back 30
```

Signed-off-by: Salim Afiune <afiune@chef.io>
Copy link
Copy Markdown

@sjvreddy sjvreddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@afiune afiune self-assigned this Mar 9, 2018
Copy link
Copy Markdown
Contributor

@lancewf lancewf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the walk through

@afiune afiune merged commit 3ec86bc into master Mar 9, 2018
@afiune afiune deleted the afiune/historical-data branch March 9, 2018 22:30
@afiune
Copy link
Copy Markdown
Author

afiune commented Mar 9, 2018

Hab package uploaded to:

✓ Uploaded chef/chef-load/4.0.0/20180309223104
★ Upload of chef/chef-load/4.0.0/20180309223104 complete.

tenor-112335214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants