Commit Graph

329 Commits

Author SHA1 Message Date
GitLab Bot e829ca213b Add latest changes from gitlab-org/gitlab@master 2020-06-22 15:09:27 +00:00
GitLab Bot 235dc61f47 Add latest changes from gitlab-org/gitlab@master 2020-06-19 12:09:07 +00:00
GitLab Bot a89912871c Add latest changes from gitlab-org/gitlab@master 2020-06-17 12:08:42 +00:00
GitLab Bot e8d7ac4f14 Add latest changes from gitlab-org/gitlab@master 2020-06-16 03:08:24 +00:00
GitLab Bot f2f748c081 Add latest changes from gitlab-org/gitlab@master 2020-06-10 15:08:07 +00:00
GitLab Bot 0211553b0c Add latest changes from gitlab-org/gitlab@master 2020-06-10 12:08:58 +00:00
GitLab Bot 2ade98b676 Add latest changes from gitlab-org/gitlab@master 2020-06-06 00:08:18 +00:00
GitLab Bot aee8d27430 Add latest changes from gitlab-org/gitlab@master 2020-06-05 18:08:19 +00:00
GitLab Bot 86e1f47cd1 Add latest changes from gitlab-org/gitlab@master 2020-06-05 15:08:23 +00:00
GitLab Bot ead1d2523c Add latest changes from gitlab-org/gitlab@master 2020-06-04 15:08:21 +00:00
GitLab Bot 607646ef52 Add latest changes from gitlab-org/gitlab@master 2020-06-03 12:08:21 +00:00
GitLab Bot c4844aea3f Add latest changes from gitlab-org/gitlab@master 2020-06-03 00:08:38 +00:00
GitLab Bot c6e6762bbf Add latest changes from gitlab-org/gitlab@master 2020-06-01 09:08:28 +00:00
GitLab Bot a78d7d5c66 Add latest changes from gitlab-org/gitlab@master 2020-05-27 00:08:11 +00:00
GitLab Bot 21539fe9ab Add latest changes from gitlab-org/gitlab@master 2020-05-22 00:08:07 +00:00
GitLab Bot 76937b2add Add latest changes from gitlab-org/gitlab@master 2020-05-21 03:08:00 +00:00
GitLab Bot 5abd2b70c8 Add latest changes from gitlab-org/gitlab@master 2020-05-21 00:08:06 +00:00
GitLab Bot 31a340adab Add latest changes from gitlab-org/gitlab@master 2020-05-15 18:07:52 +00:00
GitLab Bot 927df95cc4 Add latest changes from gitlab-org/gitlab@master 2020-05-15 12:08:28 +00:00
GitLab Bot e5731d5194 Add latest changes from gitlab-org/gitlab@master 2020-05-15 09:07:59 +00:00
GitLab Bot 41e8b05e8d Add latest changes from gitlab-org/gitlab@master 2020-05-13 12:07:54 +00:00
GitLab Bot 2824b15286 Add latest changes from gitlab-org/gitlab@master 2020-05-08 00:09:56 +00:00
GitLab Bot d8803c7e40 Add latest changes from gitlab-org/gitlab@master 2020-05-07 09:09:51 +00:00
GitLab Bot 6c005ae978 Add latest changes from gitlab-org/gitlab@master 2020-05-06 03:09:33 +00:00
GitLab Bot 21be9646a9 Add latest changes from gitlab-org/gitlab@master 2020-05-04 03:09:50 +00:00
GitLab Bot 27b43bd4d6 Add latest changes from gitlab-org/gitlab@master 2020-04-30 06:10:03 +00:00
GitLab Bot 647de7e6fd Add latest changes from gitlab-org/gitlab@master 2020-04-29 15:09:58 +00:00
GitLab Bot c6a33b2982 Add latest changes from gitlab-org/gitlab@master 2020-04-10 12:09:36 +00:00
GitLab Bot 141902c049 Add latest changes from gitlab-org/gitlab@master 2020-04-09 18:09:34 +00:00
GitLab Bot a9ced7da44 Add latest changes from gitlab-org/gitlab@master 2020-04-09 12:09:24 +00:00
GitLab Bot 3d064c737e Add latest changes from gitlab-org/gitlab@master 2020-04-07 06:09:25 +00:00
GitLab Bot 93dcf45d44 Add latest changes from gitlab-org/gitlab@master 2020-04-02 00:08:11 +00:00
GitLab Bot b11f7057d0 Add latest changes from gitlab-org/gitlab@master 2020-04-01 09:07:45 +00:00
GitLab Bot f50b93c373 Add latest changes from gitlab-org/gitlab@master 2020-03-27 21:07:53 +00:00
GitLab Bot aaf5961054 Add latest changes from gitlab-org/gitlab@master 2020-03-18 15:09:45 +00:00
GitLab Bot d43aaf286f Add latest changes from gitlab-org/gitlab@master 2020-03-17 00:09:12 +00:00
GitLab Bot 8c55809579 Add latest changes from gitlab-org/gitlab@master 2020-03-14 06:09:14 +00:00
GitLab Bot 8957ace315 Add latest changes from gitlab-org/gitlab@master 2020-03-14 00:09:30 +00:00
GitLab Bot a8de96bff5 Add latest changes from gitlab-org/gitlab@master 2020-03-05 18:08:19 +00:00
GitLab Bot eb1f5a3e08 Add latest changes from gitlab-org/gitlab@master 2020-02-17 18:09:00 +00:00
GitLab Bot cf1d4237a4 Add latest changes from gitlab-org/gitlab@master 2020-02-15 21:08:49 +00:00
GitLab Bot 1ca9950d5f Add latest changes from gitlab-org/gitlab@master 2020-02-11 18:08:58 +00:00
GitLab Bot 211a8c3361 Add latest changes from gitlab-org/gitlab@master 2020-02-07 12:09:13 +00:00
GitLab Bot d91f521169 Add latest changes from gitlab-org/gitlab@master 2020-01-21 18:07:31 +00:00
GitLab Bot 5afd857550 Add latest changes from gitlab-org/gitlab@master 2020-01-09 09:07:51 +00:00
GitLab Bot e440c86979 Add latest changes from gitlab-org/gitlab@master 2020-01-07 09:07:59 +00:00
GitLab Bot 2ccde70b80 Add latest changes from gitlab-org/gitlab@master 2019-12-12 03:07:34 +00:00
GitLab Bot 71221554dd Add latest changes from gitlab-org/gitlab@master 2019-12-04 21:07:31 +00:00
GitLab Bot 4204cf3085 Add latest changes from gitlab-org/gitlab@master 2019-12-03 15:06:20 +00:00
GitLab Bot 44baf08d4f Add latest changes from gitlab-org/gitlab@master 2019-11-18 06:06:20 +00:00
GitLab Bot c1f270b8ba Add latest changes from gitlab-org/gitlab@master 2019-11-18 03:06:28 +00:00
GitLab Bot 57e3d49fc0 Add latest changes from gitlab-org/gitlab@master 2019-11-13 18:06:51 +00:00
GitLab Bot 4e516dbff9 Add latest changes from gitlab-org/gitlab@master 2019-11-13 12:06:22 +00:00
GitLab Bot d15180e00b Add latest changes from gitlab-org/gitlab@master 2019-11-06 09:06:23 +00:00
GitLab Bot 505c40d537 Add latest changes from gitlab-org/gitlab@master 2019-11-06 06:06:10 +00:00
GitLab Bot 8f210aebe1 Add latest changes from gitlab-org/gitlab@master 2019-10-31 21:06:28 +00:00
GitLab Bot 6653aab95d Add latest changes from gitlab-org/gitlab@master 2019-10-22 15:06:06 +00:00
GitLab Bot 81c6c53d6c Add latest changes from gitlab-org/gitlab@master 2019-10-02 12:06:04 +00:00
GitLab Bot 05f4b2fb34 Add latest changes from gitlab-org/gitlab@master 2019-10-01 15:06:05 +00:00
GitLab Bot c792263edf Add latest changes from gitlab-org/gitlab@master 2019-09-23 18:06:14 +00:00
GitLab Bot b082790134 Add latest changes from gitlab-org/gitlab@master 2019-09-18 18:06:14 +00:00
GitLab Bot 84727c8209 Add latest changes from gitlab-org/gitlab@master 2019-09-16 15:06:26 +00:00
Adam Hegyi ff7c992ebd Setup counter for Productivity Analytics
This change sets up a usage counter for productivity analytics feature.
2019-09-12 11:12:29 +00:00
Igor a8040a61d8 Add usage pings for merge request creating
Code Review Usage Ping for Create SMAU
2019-08-26 14:30:45 +00:00
Douwe Maan 011c5cebfc Merge branch 'bvl-mr-commit-note-counter' into 'master'
Count notes for commits and merge requests

See merge request gitlab-org/gitlab-ce!31912
2019-08-20 16:05:58 +00:00
Nick Thomas 3028cd687a Merge branch '39-count-unique-users-for-more-accurate-smau-reporting' into 'master'
Allow UsageData.count to use count_by:

See merge request gitlab-org/gitlab-ce!30770
2019-08-19 14:45:24 +00:00
rossfuhrman 3fbc51d333 Remove Security Dashboard feature flag
This removes the group_overview_security_dashboard feature flag
2019-08-16 17:40:33 +00:00
Bob Van Landuyt 71691d935e Count comments on notes and merge requests
This extends our existing `Gitlab::UsageDataCounters::NoteCounter` to
also count notes on commits and merge requests
2019-08-16 18:54:42 +02:00
Adam Hegyi c5cb5da4ac Track page views for cycle analytics show page
This change adds a new counter 'cycle_analytics_views' to the usage data
metrics to count the page views for cycle analytics show page.
2019-08-14 16:12:12 +00:00
Igor 04598039a5 Add usage pings for source code pushes
Source Code Usage Ping for Create SMAU
2019-08-13 22:33:16 +00:00
Mark Chao 4a6f959ab8 Record usage on snippet usage
Generalize wiki page counter for other page types to extend to.
2019-08-08 13:18:57 +00:00
João Cunha 9aa31c8aef Remove typo from factory name
- the typo in this factory name was precluding us from properly
creating dynamic code to remove duplciation.
2019-07-30 16:32:42 +01:00
Francisco Javier López 26e9efc011 Added navbar searches usage ping counter
Added usage ping counter when the user makes
a search through the navbar search component.
2019-07-29 09:58:58 +00:00
Alex Kalderimis 7320758611 Count wiki page creation
This adds a counter to count page creation, which is reflected in the
usage-data we collect.

The number created is stored in Redis, avoiding DB access.
2019-07-21 01:26:19 +00:00
Francisco Javier López 01685eed76 Added Usage Data for some Web IDE actions
The actions tracked in the web IDE are:
- creation of commits
- creation of merge requests
- projects loaded
2019-07-19 11:11:27 +00:00
Ash McKenzie d00d60a66d
Allow UsageData.count to use count_by: 2019-07-18 12:13:19 +10:00
Jarka Košanová c8e24280c5 Simplify factories for services
- use predefined factories when creating
projects with services
- remove unnecessary arguments
2019-07-16 10:04:54 +02:00
Zeger-Jan van de Weg 44528f6c44
Add Gitaly data to the usage ping
Gitaly data wasn't available to the team, an this change is a first
iteration towards understanding what data we need and how to interpret
it. Later more values will be added.

For now the most important thing is the filesystem String Array, as that
includes data on ext4 exposure and NFS.

Part of: https://gitlab.com/gitlab-org/gitlab-ce/issues/60602
2019-06-20 15:26:56 +02:00
Zeger-Jan van de Weg a3f80f9f2e Add PoolRepository to the usage ping
PoolRepository is a relatively new model of which the counts could help
to further determine the priority of new features. Also gives some
insight into the number of forks customers have.
2019-05-17 09:10:29 +00:00
James Lopez 131f66c91a Update usage_data_spec to match EE 2019-05-09 16:32:18 +00:00
Ryan Cobb bb225b6675 Adds instance metrics to usage ping
This adds influxdb_metrics_enabled and prometheus_metrics_enabled to
usage ping.
2019-04-10 11:22:05 -06:00
Logan King 0cd7ebf717 Add error tracking usage counts 2019-03-25 07:42:08 +00:00
Darby Frey ff2de2f179 Adding additional usage metrics for Release to weekly ping 2019-03-07 17:08:29 +00:00
Victor Zagorodny fa518963ec Protect group overview usage ping w/ feature flag
user_preferences key is includes into system usage
data only if group_overview_security_dashboard
feature flag is enabled; see
https://gitlab.com/gitlab-org/gitlab-ee/issues/7048
2019-02-12 12:46:31 +02:00
Victor Zagorodny 60bd0a24f5 Add user_preferences_usage to usage ping 2019-02-12 12:46:31 +02:00
Balasankar "Balu" C 232a7a36e2
Add number of repositories to usage ping data 2019-01-31 18:46:07 +05:30
Oswaldo Ferreira ed3034bbb7 Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
Jan Provaznik 3720d02b8b Use approximate counts for big tables 2018-12-06 16:07:14 +00:00
Dylan Griffith 821b4fdec7 Add UsageData for group/project clusters 2018-12-05 14:50:30 +01:00
Amit Rathi 6196bb6a60 Fixing tests 2018-11-20 02:15:33 +05:30
Sean McGivern cc9e3d0900 Merge branch 'jira-ping-differentiate-cloud' into 'master'
Usage ping - Differentiate Jira Server and Cloud

Closes #51043

See merge request gitlab-org/gitlab-ce!22791
2018-11-07 20:09:24 +00:00
Mario de la Ossa 013d097e8b
Usage ping - Differentiate Jira Server and Cloud 2018-11-07 11:28:04 -06:00
Chris Baumbauer 28a9bbceb7 Remove comments from migration script and add usage data 2018-11-01 08:14:49 -07:00
Sean McGivern 7a5955ba5b Verify that usage ping works when all counts time out 2018-10-16 11:11:20 +01:00
Tiago Botelho 9b2e17ac71 Adds WebIDE commits to UsagePing
Implements UsageCounters model to track feature usage counters
and makes easy to extend for future counters
2018-10-01 16:11:09 +01:00
Sean McGivern d13ae9c260 Handle statement timeouts in usage ping 2018-09-05 17:51:47 +01:00
Chantal Rollison e9c1f184bc Added count for label, assignee, and milestone lists 2018-08-21 08:21:01 -07:00
Lin Jen-Shin d0afab482f Disable SAML if OmniAuth is disabled
We also try to unify the way we setup OmniAuth, and how we check
if it's enabled or not.
2018-07-20 18:54:46 +08:00
Douglas Barbosa Alexandre 727bba8ef5
Add enabled prefix to feature keys to be consistent with other keys 2018-06-20 14:16:14 -03:00
Balasankar C 9f76632d80 Add installation type to usage ping data 2018-06-07 15:01:20 +00:00
Tiago Botelho 9a13059332 Backports every CE related change from ee-5484 to CE 2018-05-07 11:59:51 +02:00
Matija Čupić 3e3e7d54d5
Check cluster usage datapoint counts 2018-03-27 14:16:50 +02:00
Matija Čupić 4478103d99
Rename cluster datapoint names to be more specific 2018-03-26 21:54:13 +02:00
Matija Čupić 0bf79bf12e
Add additional cluster usage metrics 2018-03-22 00:44:06 +01:00
Tiago Botelho 3f31da9c69 Restrict cycle analytics usage data to instances that use postgres only 2018-02-28 10:46:20 +00:00
Mario de la Ossa eaada9d706 use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
Markus Koller 257fd57134 Allow password authentication to be disabled entirely 2017-11-23 13:16:14 +00:00
Shinya Maeda 6571efb6c3 Fix spec. Fix usage ping. Fix warnings by adding new models and attributes. 2017-11-01 16:12:44 +09:00
Shinya Maeda a6b2387d3f Collect usage pings `Gcp::Cluster.enabled` and `Gcp::Cluster.disabled`, instead of `Gcp::Cluster.count` 2017-10-11 23:02:47 +09:00
Shinya Maeda b229637b08 fetch_kubernetes_token_service_spec. Fix static analysys. 2017-10-05 20:26:07 +09:00
Tiago Botelho 25932308c0 Adds gitlab features and components to usage ping data. 2017-09-21 14:47:35 +01:00
Zeger-Jan van de Weg 74bf291c78
Add auto devops enabled/disabled to usage ping 2017-09-12 12:33:48 +02:00
Zeger-Jan van de Weg 5c6f40ab6e
Add usage ping for Auto DevOps
Fixes gitlab-org/gitlab-ce#37648
2017-09-08 19:38:02 +02:00
Jarka Kadlecova 124ef7dd60 Add Slack and JIRA services counts to Usage Data 2017-07-24 12:59:06 +02:00
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
Robert Speicher d49768296c Auto-correct `RSpec/DescribedClass` violations 2017-05-01 11:13:33 -04: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
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