Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split metric collections into smaller intervals #14332

Merged
merged 6 commits into from
Mar 21, 2017

Commits on Mar 17, 2017

  1. Split metric collections into smaller intervals

    When a target's `last_perf_capture_on` is far into the past, the next
    attempt to capture metrics for that target will result in an attempt to
    gather a potentially huge amount of metrics at one time.
    
    This change will break down the intervals between `last_perf_capture_on`
    and `today` into individual days.  This is the same logic that's used
    when collecting gap metrics.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1429593
    blomquisg committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    5571320 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    82b83dd View commit details
    Browse the repository at this point in the history
  3. Test for reversed metric dates

    Remove a redundant call to `map`, and add a test to make sure that the
    dates in metrics collection are in a properly reversed order.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1429593
    blomquisg committed Mar 17, 2017
    Configuration menu
    Copy the full SHA
    f874607 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2017

  1. Configuration menu
    Copy the full SHA
    1b539ce View commit details
    Browse the repository at this point in the history
  2. More testing for perf_capture_queue

    Ensure that perf_capture_queue works on long intervals and single days.
    blomquisg committed Mar 20, 2017
    Configuration menu
    Copy the full SHA
    8b24751 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7bd3090 View commit details
    Browse the repository at this point in the history