Commit Graph

16 Commits

Author SHA1 Message Date
Jarka Kadlecova 2cc063e592 Add github imported projects count to usage data 2017-07-19 15:22:05 +02:00
Kamil Trzciński efb7b2d341 Merge branch 'zj-usage-ping-only-gl-pipelines' into 'master'
Only count GL pipelines in usage data ping

Closes #33172

See merge request !12277
2017-06-29 13:55:19 +00:00
Z.J. van de Weg 4447006832 Split pipelines by origin on usage data
When sending the usage data, it now includes all pipelines. This commit
will split the pipelines in two; internal and external.

This will lead to historical data being incorrectly marked this way.

Fixes gitlab-org/gitlab-ce#33172
2017-06-27 12:47:44 +02:00
Z.J. van de Weg e7d12a70d2 Add in_review_folder to usage ping
As its hard to reliably check how many review apps there are on the
clients machine, we start by checking where the type is `review`. This
means the folder is called that way. This will lead to a seq
scan on the table. However, this is done once a week, so the benefit of
adding an index seems not to apply here.
2017-06-27 09:39:05 +02:00
Ruben Davila 3396edcea0 Remove Services count from usage ping payload.
This query was timing out and is blocking the sync of usage data for
GitLab.com
2017-05-18 11:49:11 -05:00
Sean McGivern d2d6435372 Add hostname to usage ping 2017-05-11 09:20:12 +01:00
Zeger-Jan van de Weg 8df3997a92 Add Pipeline Schedules that supersedes experimental Trigger Schedule 2017-05-07 22:35:56 +00:00
Sean McGivern b61199ce0c Add prometheus services to usage ping 2017-04-14 15:20:55 +02:00
Sean McGivern 092258e924 Add edition to usage ping 2017-04-14 15:20:55 +02:00
Robert Speicher e21ed5fe77 Add Upload count to usage data 2017-04-14 15:20:55 +02:00
Stan Hu f30a46b401 Used named parameter for refreshing usage data 2017-04-14 15:20:55 +02:00
Stan Hu bca368990a Cache the last usage data to avoid unicorn timeouts 2017-04-14 15:20:55 +02:00
Sean McGivern c53afeda0c Port 'Add uuid to usage ping' to CE
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1521
2017-04-14 15:20:55 +02:00
Z.J. van de Weg f5b42881c8 Track Mattermost usage 2017-04-14 15:20:55 +02:00
Ruben Davila f41b693fc7 Remove pushes count from usage ping payload
This query is constantly generating timeout errors on large installations and we don't
have a simple solution for now and also we don't think having this counter is
really critical.
2017-04-14 15:20:55 +02:00
Sean McGivern 0483019e98 Port 'Add more usage data to EE ping' to CE
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/735
2017-04-14 15:20:55 +02:00