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

Add util/math to dskit #28

Merged
merged 3 commits into from
Sep 2, 2021
Merged

Add util/math to dskit #28

merged 3 commits into from
Sep 2, 2021

Commits on Sep 2, 2021

  1. Move some utility functions out of util and into their own packages…

    … (#3734)
    
    * separate out some util packages
    
    Signed-off-by: Kevin Minehart <kmineh0151@gmail.com>
    
    * use goimports with -local
    
    Signed-off-by: Kevin Minehart <kmineh0151@gmail.com>
    
    * refactor: reduce the number of transitive imports when using math and logging functions
    
    Signed-off-by: Kevin Minehart <kmineh0151@gmail.com>
    
    * add deprecation warning to pkg/log/log.go
    
    Signed-off-by: Kevin Minehart <kmineh0151@gmail.com>
    kminehart authored and Tyler Reid committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    852e40c View commit details
    Browse the repository at this point in the history
  2. Move ewmaRate into util/math package, and make it public. (#4070)

    * Move ewmaRate into util/math package, and make it public.
    
    Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
    
    * Use util_math import name.
    
    Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
    
    * Fix double import.
    
    Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
    pstibrany authored and Tyler Reid committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    c458272 View commit details
    Browse the repository at this point in the history
  3. Move math to the top level directory for use

    Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
    Tyler Reid committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    3713240 View commit details
    Browse the repository at this point in the history