1. 01 Mar, 2017 2 commits
    • Ben Kochie's avatar
      Refactor per-runner metrics · 55a59997
      Ben Kochie authored
      * Combine all running workers into one query
      * Update specs.
      55a59997
    • Ben Kochie's avatar
      Refactor total builds metrics · 1988413c
      Ben Kochie authored
      * Remove `_total` from metric name, this is a gauge.
      * Split `running` and `created` builds into separate metrics.
      * Add `namespace.path` as new metric label.
      * Refactor `metrics_total` function to support new metrics and labeling.
      * Reduce cardinality for `pending` and `created` builds by ignoring
        values less than 10.
      * Split stale builds metrics to separate function.
      * Update specs.
      1988413c
  2. 28 Feb, 2017 2 commits
  3. 27 Feb, 2017 1 commit
  4. 23 Feb, 2017 1 commit
  5. 22 Feb, 2017 1 commit
  6. 09 Feb, 2017 2 commits
  7. 07 Feb, 2017 1 commit
  8. 31 Jan, 2017 2 commits
  9. 30 Jan, 2017 1 commit
  10. 23 Jan, 2017 1 commit
  11. 20 Jan, 2017 5 commits
  12. 16 Jan, 2017 1 commit
  13. 03 Jan, 2017 3 commits
  14. 19 Dec, 2016 3 commits
  15. 08 Dec, 2016 3 commits
  16. 07 Dec, 2016 1 commit
  17. 06 Dec, 2016 5 commits
  18. 05 Dec, 2016 3 commits
    • Ahmad Sherif's avatar
      Bump version to 0.0.19 · 5fa637b2
      Ahmad Sherif authored
      5fa637b2
    • Ahmad Sherif's avatar
      Merge branch 'feature/additional-ci-builds-metrics' into 'master' · b75b5dce
      Ahmad Sherif authored
      Add another CI Builds related metrics
      
      This MR adds some CI Builds metrics:
      
      - number of builds in `running` state, that were not updated since more than last hour,
      - number of builds in `pending` state, that are created for projects with `shared_runner_enabled` set to `true`,
      - number of builds in `pending` state, that are created for projects with `shared_runner_enabled` set to `false`,
      
      ```
      ci_builds_stale{status="running",when="last_hour"} 2
      ci_builds_total{status="pending",shared_runners_enabled_projects="1"} 5
      ci_builds_total{status="pending",shared_runners_enabled_projects="0"} 2
      ```
      
      MR is prepared on top of !27.
      
      Related to gitlab-org/gitlab-ce#23366.
      
      /cc @ayufan @ahmadsherif
      
      See merge request !29
      b75b5dce
    • Tomasz Maczukin's avatar
  19. 02 Dec, 2016 2 commits