Commit Graph

3251 Commits

Author SHA1 Message Date
Pawel Chojnacki 765ddaeb85 Only enable unicorn metrics when not in sidekiq mode.
+ remove rebased test case
2017-11-02 21:27:28 +01:00
Pawel Chojnacki c9f0070b64 Make subscriber tests pass, after refactoring metrics 2017-11-02 18:18:16 +01:00
Pawel Chojnacki 735365a367 rename BackgroundMigration to SidekiqMigration 2017-11-02 18:18:16 +01:00
Pawel Chojnacki 30a4bb6628 Fix sidekiq middleware tests 2017-11-02 18:16:58 +01:00
Pawel Chojnacki 534f6b1125 Tests for Web transaction and remove simple transacton 2017-11-02 18:11:44 +01:00
Pawel Chojnacki 19634c259d Cleanup metrics names and removing unnecessary cache read total 2017-11-02 18:11:44 +01:00
Pawel Chojnacki c361c1e857 Adjust test to changed metrics methods.
+ remove deprecated test suite
2017-11-02 18:11:44 +01:00
Pawel Chojnacki 95a23d246c Convert rails_queue_duration to metric_rails_queue_duration_seconds 2017-11-02 18:11:44 +01:00
Pawel Chojnacki f64085e693 Move labels tests from Metrics rack spec to Transaction spec 2017-11-02 18:11:44 +01:00
Pawel Chojnacki e884bfc526 Metric spec adjustment for transaction signature change 2017-11-02 18:11:44 +01:00
Pawel Chojnacki 9360f37aae Fix Rubocop warnings 2017-11-02 18:11:44 +01:00
Pawel Chojnacki b90bf88b14 Fix rspec errors, and add more tests to MethodCall and ActionView 2017-11-02 18:11:43 +01:00
Pawel Chojnacki 6b53dd28c7 Cache spec check if prometheus metrics are triggered 2017-11-02 18:11:43 +01:00
Pawel Chojnacki 8dbb228be9 Rails cache spec 2017-11-02 18:11:43 +01:00
Pawel Chojnacki 39ac6acbcc Fix Active record and transaction specs 2017-11-02 18:11:43 +01:00
Pawel Chojnacki 38fbd25bbf Ruby sampler spec 2017-11-02 18:11:43 +01:00
Pawel Chojnacki c97dc61a9e Cleanup transaction metrics 2017-11-02 18:11:43 +01:00
Pawel Chojnacki f464adaaf6 Remove transaction tags and map transaction metrics to prometheus
+ clean transaction metrics

+ Gemfile.lock file update
2017-11-02 18:10:57 +01:00
Pawel Chojnacki 03b38a4a8d Add GC sampler and small refactor of samplers 2017-11-02 18:09:21 +01:00
Rémy Coutable 6a5e8f1046 Merge branch 'gitaly-ff-merge' into 'master'
Incorporate Gitaly's OperationService.UserFFBranch RPC

Closes gitaly#693

See merge request gitlab-org/gitlab-ce!15040
2017-11-02 16:11:53 +00:00
Filipa Lacerda 3852d404f3 Merge branch 'icons-ci-icons' into 'master'
Convert Icons in CI to SVG Sprite Icons

See merge request gitlab-org/gitlab-ce!14567
2017-11-02 15:54:46 +00:00
Sean McGivern 62ab17798d Merge branch 'dm-sidekiq-sigstp' into 'master'
Send SIGSTP before SIGTERM to actually give Sidekiq jobs 30s to finish when the memory killer kicks in

See merge request gitlab-org/gitlab-ce!15102
2017-11-02 15:33:53 +00:00
Sean McGivern 56dccc2e10 Merge branch 'dm-remove-private-token' into 'master'
Remove Private Tokens

Closes #38595 and #38447

See merge request gitlab-org/gitlab-ce!14838
2017-11-02 15:25:42 +00:00
Douwe Maan ccb5bad6b8 Send SIGSTP before SIGTERM to actually give Sidekiq jobs 30s to finish when the memory killer kicks in 2017-11-02 15:33:19 +01:00
Brett Walker 2fd5cc2bff Geo route whitelisting is too optimistic 2017-11-02 12:50:04 +00:00
Douwe Maan 3f24f9ed18 Add sudo API scope 2017-11-02 11:39:03 +01:00
Douwe Maan a1781a4941 Consistently use PersonalAccessToken instead of PersonalToken 2017-11-02 11:39:02 +01:00
Kim Carlbäcker d6066870cc Fix encoding issue with Repository.ls_files 2017-11-02 08:29:03 +00:00
Douwe Maan e65bbc0ca4 Merge branch 'jej/lfs-change-detection' into 'master'
Detect changes to LFS pointers for pruning and integrity check

See merge request gitlab-org/gitlab-ce!14785
2017-11-01 17:33:41 +00:00
James Edwards-Jones fb3f9c6e50 Detect changes to LFS pointers for pruning and integrity check
Gitlab::Git::Blob.batch_lfs_metadata can be used to check for LFS pointers. It uses a lazy enumorator and filters by blob size
2017-11-01 16:41:05 +00:00
Sean McGivern 5c1459ef0f Merge branch '35914-merge-request-update-worker-is-slow' into 'master'
Add metrics tagging to the sidekiq middleware

See merge request gitlab-org/gitlab-ce!15111
2017-11-01 14:14:17 +00:00
Douwe Maan b6e69673fd Merge branch 'backport-workhorse-show-all-refs' into 'master'
Support show-all-refs for git over HTTP

See merge request gitlab-org/gitlab-ce!14834
2017-11-01 11:25:51 +00:00
Douwe Maan f9a85b0c8c Merge branch 'go-get-ssh' into 'master'
Returns a SSH url for go-get=1

Closes #38858

See merge request gitlab-org/gitlab-ce!14990
2017-11-01 09:30:39 +00:00
Guilherme Vieira 1cc92dae77 Returns a ssh url for go-get=1 2017-10-31 19:22:40 -02:00
Alejandro Rodríguez 37cc50f843 Incorporate Gitaly's OperationService.UserFFBranch RPC 2017-10-31 16:28:09 -03:00
Sean McGivern 85a6779910 Merge branch 'dm-ldap-identity-normalize-dn' into 'master'
Normalize LDAP DN when looking up identity

Closes #39559

See merge request gitlab-org/gitlab-ce!15103
2017-10-31 17:36:51 +00:00
micael.bergeron 2b7e03cf69 reword `targets` to `metric tags`
add changelog
2017-10-31 13:21:08 -04:00
Douwe Maan 8399de0c96 Normalize LDAP DN when looking up identity 2017-10-31 17:13:50 +01:00
Sean McGivern 74a0e855e1 Merge branch 'fix/import-issue-assignees' into 'master'
Fix missing issue assignees

Closes #39170

See merge request gitlab-org/gitlab-ce!15109
2017-10-31 16:08:55 +00:00
James Lopez 3a887c92d0 fix spec failure 2017-10-31 16:13:09 +01:00
Sean McGivern 568508c7d5 Merge branch '39561-seed_fu-fails-to-load-gitlab-test' into 'master'
Handle large values on `MergeRequestDiffCommit` dates

Closes #39561

See merge request gitlab-org/gitlab-ce!15093
2017-10-31 14:34:02 +00:00
micael.bergeron 7799a9bc44 add metrics tagging to the sidekiq middleware 2017-10-31 09:48:10 -04:00
James Lopez 4bce563c6b fix specs 2017-10-31 14:26:51 +01:00
James Lopez ef8217fbee fix missing issue assignees 2017-10-31 12:56:16 +01:00
Kamil Trzciński e829d5a084 Merge branch 'add-packagist-project-service' into 'master'
Add Packagist project service

See merge request gitlab-org/gitlab-ce!14493
2017-10-31 11:54:49 +00:00
Alejandro Rodríguez 1796936abc Handle large values on `MergeRequestDiffCommit` dates 2017-10-30 21:13:39 -03:00
Nick Thomas 527f87dfdb
Support show-all-refs for git over HTTP 2017-10-30 15:20:36 +00:00
AlexWayfer 7ba7fa5048 Fix 500 error for old (somewhat) MRs 2017-10-30 12:30:31 +00:00
Tim Zallmann 38a9866242 Fixes one icon test 2017-10-30 10:27:46 +01:00
Tim Zallmann 71a56096b3 Test Fixes 2017-10-30 10:27:46 +01:00