Skip to content

Latest commit

 

History

History
129 lines (100 loc) · 4.96 KB

CHANGELOG.md

File metadata and controls

129 lines (100 loc) · 4.96 KB

Minor Release 4.6.0

Improvements:

  • Add PuppetDB HA Metrics

Minor Release 4.5.0

Improvements:

  • Add a script to zip up metrics for sharing

Z Release 4.4.2

Bug Fixes:

  • Tidy script does not work without bzip (not installed on RHEL 7 by default)
    • The tidy script now uses gzip which is more regularly available
    • PR #45
  • Tidy script would not exit on error
  • Config file could change every run if you use puppetdb_query to find the hosts

Z Release 4.4.1

Bug Fixes:

  • PuppetDB metrics could not be gathered by default in PE < 2016.4.0

Minor Release 4.4.0

Improvements

  • Allow connecting over http instead of https for PuppetDB
    • PR #37
    • In order to use pass --no-ssl and --metrics_port to the tk_metrics script

Minor Release 4.3.0

Improvements

  • No longer pass certificates to connect to metrics endpoint

Z Release 4.2.2

Bug Fixes:

  • Tidy cron jobs would only delete metric files exactly retention_days away

Z Release 4.2.1

Bug Fixes:

  • PE versions < 2016.2 now GET each metric individually instead of using a POST

Minor Release 4.2.0

Improvements

  • Allow not saving a metrics file
    • Add a --output-dir CLI argument to metrics scripts which tells the script where to save metrics output to.
    • If --output-dir is not specified then no file is saved
  • Metrics scripts print to STDOUT by default
    • Use --no-print to silence output to STDOUT

Minor Release 4.1.0

Improvements

  • Retrieve all additional metrics with one POST instead of multiple GETs
  • Add a --print command line argument to the metrics scripts
    • This allows for integrations with other tools that can read the output from stdout.
    • PR #24
  • Move script configuration into a YAML file
    • Allow the metrics scripts to be stored as static files instead of templates
    • PR #25

Major Release 4.0.0

This is a major release because some of the PuppetDB metrics are renamed. For most users this update is only additive, however, if you are post processing the output of the module then you may need to update to the new names of the metrics.

Changes

  • Rename some PuppetDB metrics
    • command_processing_time is now global_processing_time
    • command_processed is now global_processed
    • replace_catalog_time is now storage_replace-catalog-time
    • replace_facts_time is now storage_replace-facts-time
    • store_report_time is now storage_store-report-time
    • *_retry and *_retry-counts metrics are renamed to include mq_ at the front

Improvements

  • We now collect the output of the status endpoint for orchestrator
  • We now collect HakariCP connection pooling metrics for PuppetDB
  • We now collect the global metrics for PuppetDB
  • We now collect the storage metrics for PuppetDB
  • Each component now has its own class to allow customizing parameters per component

Z Release 3.0.1

Bug Fixes:

  • Stagger compression of files between midnight and 3AM to prevent a CPU spike

Major Release 3.0.0

Changes

  • Every parameter, file name, etc... that contained puppet_server is rewritten to puppetserver
    • The existing parameters remain but are deprecated and should not be used
  • Metric storage format is a single JSON blob instead of the exact output from whichever endpoint was queried

Improvements

  • Metrics gathering scripts are rewritten in ruby
  • Metrics are now stored in one file per component
    • PuppetDB metrics were previously stored with one file per metric
    • Metrics are now stored in one directory per server
  • PuppetDB metrics now gathers the status endpoint
    • This is the preferred way to get the queue_depth metric
  • Opt-in collection of ActiveMQ metrics is available
  • Metrics are compressed daily for a 90% reduction in disk space
    • Metrics are retained for 90 days by default instead of 3 days
      • Retained metrics still take less space due to compression savings

Bug Fixes:

  • The metrics tidy cron job previously ran every minute between 2-3 AM. It now runs just once at 2AM.