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

Charge since the first MetricRollup #14666

Merged
merged 2 commits into from
Apr 10, 2017
Merged

Commits on Apr 7, 2017

  1. Configuration menu
    Copy the full SHA
    cc3f6c1 View commit details
    Browse the repository at this point in the history
  2. Charge since the first MetricRollup

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1433984
    
    On a fresh install, we start with inventory collection at time X. The
    resources are then created_on time X. However, the C&U collection can go
    few day back (by default we go back to beginning_of_day, but this is
    subject to configuration.
    
    (See Settings.performance.history.initial_capture_days)
    
    When charging, we cannot rely on created_on time, we can charge from
    the beginning of the C&U for the given resource.
    isimluk committed Apr 7, 2017
    Configuration menu
    Copy the full SHA
    cf82d67 View commit details
    Browse the repository at this point in the history