1. 14 Apr, 2017 2 commits
    • Change prometheus semantics from step to min step (#8073) · fb163450
      Previously `Step` parameter would set a hard value for any zoom level.
      
      Now it's renamed to `Min step` and sets the minimal value of `step` parameter
      to Prometheus query. User would usually want to set it to the scraping interval
      of the target metric to avoid having shap cliffs on graphs and extra load
      on Prometheus. Actual `step` value is calculated as the minimum of automatically
      selected step (based on zoom level) and user provided minimal step. If user
      did not provide the step, then automatic value is used as is.
      
      Example bahavior for `60s` scrape intervals:
      
      * `5s` automatic interval, no user specified min step:
        * Before: `step=5`
        * After: `step=5`
      * `5s` automatic interval, `1m` user specified min step:
        * Before: `step=5`
        * After: `step=60`
      * `5m` automatic interval, `1m` user specified min step:
        * Before: `step=60` (not really visible, too dense)
        * After: `step=300` (automatic value is picked)
      
      See:
      
      * https://github.com/grafana/grafana/issues/8065
      * https://github.com/prometheus/prometheus/issues/2564
      Ivan Babrou committed
  2. 12 Apr, 2017 8 commits
  3. 11 Apr, 2017 9 commits
  4. 10 Apr, 2017 6 commits
  5. 07 Apr, 2017 8 commits
  6. 06 Apr, 2017 2 commits
  7. 05 Apr, 2017 1 commit
  8. 04 Apr, 2017 2 commits
  9. 03 Apr, 2017 2 commits