Showing with 10 additions and 4 deletions.
  1. +6 −0 CHANGELOG.md
  2. +1 −1 README.md
  3. +2 −2 manifests/pe_metric.pp
  4. +1 −1 metadata.json
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Z Release 3.0.1

## Bug Fixes:
- Stagger compression of files between midnight and 3AM to prevent a CPU spike
- [PR #22](https://github.com/npwalker/pe_metric_curl_cron_jobs/pull/22)

# Major Release 3.0.0

## Changes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Each component has two cron jobs created for it.
- A cron job to gather the metrics
- Runs every 5 minutes
- A cron job to delete metrics past the rentention_days and compress metrics
- Runs daily at 2AM
- Runs at randomly selected time between midnight and 3AM

Example:

Expand Down
4 changes: 2 additions & 2 deletions manifests/pe_metric.pp
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
cron { "${metrics_type}_metrics_tidy" :
ensure => $metric_ensure,
user => 'root',
hour => '2',
minute => '0',
hour => fqdn_rand(3, $metrics_type ),
minute => (5 * fqdn_rand(11, $metrics_type )),
command => $metrics_tidy_script_path
}

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "npwalker/pe_metric_curl_cron_jobs",
"version": "3.0.0",
"version": "3.0.1",
"author": "npwalker",
"summary": "A Puppet module for gathering metrics from PE components",
"license": "Apache-2.0",
Expand Down