- 20 Jan, 2017 3 commits
-
-
Ahmad Sherif authored
Closes #12
-
Ahmad Sherif authored
Track pages usage See merge request !34
-
Zeger-Jan van de Weg authored
-
- 03 Jan, 2017 3 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Update range to last 24 hours, not current day See merge request !32
-
Zeger-Jan van de Weg authored
-
- 19 Dec, 2016 3 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Add active runner count Sometimes it is good to know how many runners are active. This way we could rule out if a large fleet was enabled. The query takes about 33ms on GitLab.com, so can be safely added. cc @pcarranza See merge request !31
-
Zeger-Jan van de Weg authored
-
- 08 Dec, 2016 3 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Split and refactor querying for total CI builds This MR: - splits metrics for builds in `running` state just like for the `pending` state (so projects are distinguished by`shared_runners_enabled` value), - refactors querying for metrics about total builds count, so the data is collected with one query instead of two. /fyi @ayufan See merge request !30
-
- 07 Dec, 2016 1 commit
-
-
Tomasz Maczukin authored
-
- 06 Dec, 2016 5 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
-
Ahmad Sherif authored
-
Ahmad Sherif authored
This reverts commit 3c28bd41.
-
Ahmad Sherif authored
-
- 05 Dec, 2016 3 commits
-
-
Ahmad Sherif authored
-
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
-
Tomasz Maczukin authored
-
- 02 Dec, 2016 5 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Add basic metrics for CI Builds This MR adds basic metrics for CI Builds. Currently there is a support for: - number of all builds (works for CE and EE) - number of builds executed per runner (works for CE and EE) - number of builds executed per runner for mirrored projects (works for EE, returns `0` on CE) Output looks like: ``` ci_builds_total{status="running"} 0 ci_builds_per_runner{status="running",runner="8",mirrors="0"} 0 ci_builds_per_runner{status="running",runner="8",mirrors="1"} 0 ci_builds_per_runner{status="running",runner="9",mirrors="0"} 0 ci_builds_per_runner{status="running",runner="9",mirrors="1"} 0 ``` References gitlab-org/gitlab-ce#23366 /cc @ayufan See merge request !27
-
Tomasz Maczukin authored
-
- 30 Nov, 2016 2 commits
-
-
Ahmad Sherif authored
Use a Lua script to calculate queue stats cc/ @pcarranza See merge request !28
-
Ahmad Sherif authored
-
- 29 Nov, 2016 2 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Closes #8
-
- 28 Nov, 2016 2 commits
-
-
Ahmad Sherif authored
Faster tests because of caching See merge request !22
-
Ahmad Sherif authored
Remove soft deleted namespaces This query yields 0 each time now, and old ones got nukes. See merge request !26
-
- 25 Nov, 2016 1 commit
-
-
Zeger-Jan van de Weg authored
This query yields 0 each time now, and old ones got nukes.
-
- 14 Nov, 2016 2 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
-
- 11 Nov, 2016 2 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
Business stats Refactoring and moooooooar queries See merge request !24
-
- 10 Nov, 2016 3 commits
-
-
Ahmad Sherif authored
-
Ahmad Sherif authored
-
Zeger-Jan van de Weg authored
Before this commit, the queries totalled at about a minute execution time, now this is brought down to about 2 seconds.
-