Commits on Aug 21, 2019

  1. Skip versioncmp when pe_server_version is missing

    This commit updates the version checking logic in
    puppet_metrics_collector::puppetserver to skip `versioncmp()` when the
    `pe_server_version` fact is missing. This change allows the class to
    be applied to FOSS nodes without causing a compilation failure.
    Sharpie committed Aug 21, 2019
    Configuration menu
    Copy the full SHA
    10b58fb View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2019

  1. Configuration menu
    Copy the full SHA
    2086256 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #23 from Sharpie/enable-foss-usage

    Skip versioncmp when pe_server_version is missing
    jarretlavallee authored Sep 18, 2019
    Configuration menu
    Copy the full SHA
    efa644f View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2019

  1. Remove 127.0.0.1 special case naming

    The 127.0.0.1 thing is a hold-over from before we defaulted to smart
    configuration of metrics collection. It isn't good UX to use that name
    though. We should remove it from the defaults so that users don't need
    to know about or be confused by this legacy 127.0.0.1 thing.
    reidmv committed Oct 16, 2019
    Configuration menu
    Copy the full SHA
    33fc095 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #26 from reidmv/127-cleanup

    Remove 127.0.0.1 special case naming
    johnduarte authored Oct 16, 2019
    Configuration menu
    Copy the full SHA
    8607626 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2019

  1. Change STDOUT.write to STDOUT.puts

    This allows the output to have a proper trailing newline.  Otherwise,
    when processing multiple files there will be a concatenation of the last
    and first lines of each file
    m0dular committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    5350c95 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2019

  1. (SLV-653) Add a script for generating system stats

    The script is intended to be used as part of an optionial feature to gate system stats the same way other stats
    are gathered and managed.
    It uses sar which will poll every x seconds and generate an average, which can then be captured into a file at the
    same interval as the puppet-metrics-collector polling interval.  This keeps the total data down while not missing
    things that cause short duration spikes (like compiles that last 6 seconds).  Initial use will be in performace testing.
    
    Had to disable GetText/DecorateString cop for the entire script in the rubocop.yml because inline disables aren't working for some reason.  And rubocop is parsing for ruby 2.1 where the fix works, but the same fix doesn't work with later versions of ruby, like the one installed by puppet...
    RandellP committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    c3a948a View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. Merge pull request #28 from puppetlabs/SLV-653

    (SLV-653) Add a script for generating system stats
    jarretlavallee authored Nov 7, 2019
    Configuration menu
    Copy the full SHA
    627c17c View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2019

  1. Update the system metrics timestamp key

    Prior to this commit, the metrics timestamp key name in the output file
    was `time_stamp_obj`, which caused failures when processing with
    `json2timeseries.rb` this commit updates the key to be `timestamp` to
    ensure compatibility with the processing scripts.
    Jarret Lavallee committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    96b75d1 View commit details
    Browse the repository at this point in the history
  2. Convert system metrics into float

    Prior to this commit, the system metrics values were strings. This
    commit changes them to be floats. This adds compatibility with the
    existing json2timeseries parsing script as it looks for numeric values.
    Jarret Lavallee committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    b10a436 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2019

  1. Merge pull request #31 from jarretlavallee/fix/master/generate_metric…

    …s_timestamp
    
    Update the system metrics timestamp key
    RandellP authored Nov 22, 2019
    Configuration menu
    Copy the full SHA
    5f97444 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2019

  1. (SLV-672) Add system class to manage system metric

    The new system class is very similar to the init.pp... this is to keep the two seperate during development.
    They may get merged in teh future.  But the work flow is such that the master would have puppet metrics collector and sysystem included, while the compilers would only have system.  To merge them would require a clean way to turn off all pe metrics for the compilers.
    
    Also added system_cpu and system_memory to use sar_metric to gather cpu and memory metrics.
    RandellP committed Nov 23, 2019
    Configuration menu
    Copy the full SHA
    bec1cda View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2019

  1. Merge pull request #30 from puppetlabs/SLV-672

    (SLV-672) Add system class to manage system metric
    johnduarte authored Nov 25, 2019
    Configuration menu
    Copy the full SHA
    167011c View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2019

  1. Allow for excluding data from the metrics files

    Prior to this commit, there was no mechanism for filtering out metrics
    from the json files. This commit adds filter capabilities and defaults
    to removing the `pe-puppet-profiler` and `file-sync-storage-service`
    hashes from the `puppetserver` metrics.
    Jarret Lavallee committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    5b69ff6 View commit details
    Browse the repository at this point in the history
  2. Remove pretty printing from the output

    Prior to this commit, the output was pretty printed, which consumes
    additional disk space. This commit removes the pretty printing to save
    disk space by elimiating the newline characters.
    Jarret Lavallee committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    87fb8e4 View commit details
    Browse the repository at this point in the history
  3. Add reasonable defaults for excludes

    Prior to this commit, the defaults for excludes were not dynamic. This
    commit adds some defaults based on PE version and sets up a framework
    for making future changes.
    Jarret Lavallee committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    08a2d8a View commit details
    Browse the repository at this point in the history
  4. Ensure OSP compatibility with excludes

    Prior to this commit, if the `pe_server_version` fact was missing the
    code would error out. This commit enables OSP and older versions of PE.
    Jarret Lavallee committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    8e593ad View commit details
    Browse the repository at this point in the history
  5. Use the hostname instead of IP in the readme

    Prior to this commit, the documentation stil specified `127.0.0.1` in
    the examples. In a previous commit, this was changed to the FQDN of the
    master and this commit updates the readme to use an example FQDN.
    Jarret Lavallee committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    5fa5367 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. (SLV-688) send script errors to the output file

    To be consistent with the rest of puppet metrics collector, and to make the errors more findable.
    Output them in json format to the output json file.
    Also trapped the error that would occur if sar wasn't installed SLV-707
    RandellP committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    55bde19 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. Merge pull request #32 from puppetlabs/SLV-688

    (SLV-688) send script errors to the output file
    jarretlavallee authored Dec 5, 2019
    Configuration menu
    Copy the full SHA
    a85eefe View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. Configuration menu
    Copy the full SHA
    4c3c3d6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #29 from jarretlavallee/feat/master/remove_unused_…

    …data
    
    Allow for excluding data from the metrics files
    jarretlavallee authored Dec 10, 2019
    Configuration menu
    Copy the full SHA
    4e4fc3b View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

  1. Configuration menu
    Copy the full SHA
    9034abc View commit details
    Browse the repository at this point in the history
  2. Merge pull request #27 from m0dular/aph/trailing-newline

    Change STDOUT.write to STDOUT.puts
    jarretlavallee authored Dec 11, 2019
    Configuration menu
    Copy the full SHA
    4b2495b View commit details
    Browse the repository at this point in the history
  3. (maint) Update to PDK 1.14.1

    This commit updates the PDK files from 1.12 to 1.14.1.
    Jarret Lavallee committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    3ef7f59 View commit details
    Browse the repository at this point in the history
  4. 5.3.0 Release

    This commit updates the release from 5.2.0 to 5.3.0 and updates with
    CHANGELOG with the changes since the 5.2.0 release.
    Jarret Lavallee committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    6430c08 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7677cce View commit details
    Browse the repository at this point in the history