Commit graph

20 commits

Author SHA1 Message Date
GitLab Bot
9ecdb93f4e Add latest changes from gitlab-org/gitlab@master 2021-02-01 12:09:03 +00:00
GitLab Bot
c78a5f67d0 Add latest changes from gitlab-org/gitlab@master 2021-01-27 06:08:58 +00:00
GitLab Bot
d9e71b0d41 Add latest changes from gitlab-org/gitlab@master 2020-10-15 15:08:45 +00:00
GitLab Bot
3ad11f24ca Add latest changes from gitlab-org/gitlab@master 2019-12-22 09:07:51 +00:00
GitLab Bot
9763c08170 Add latest changes from gitlab-org/gitlab@master 2019-12-17 03:07:45 +00:00
GitLab Bot
175b4fa261 Add latest changes from gitlab-org/gitlab@master 2019-12-11 18:08:10 +00:00
GitLab Bot
29c01c6c91 Add latest changes from gitlab-org/gitlab@master 2019-11-14 03:06:25 +00:00
GitLab Bot
90a06a20be Add latest changes from gitlab-org/gitlab@master 2019-11-07 15:06:33 +00:00
GitLab Bot
b539ac1d61 Add latest changes from gitlab-org/gitlab@master 2019-10-30 09:27:58 +00:00
GitLab Bot
00c78fb814 Add latest changes from gitlab-org/gitlab@master 2019-10-16 15:06:17 +00:00
GitLab Bot
535d167d40 Add latest changes from gitlab-org/gitlab@master 2019-10-04 06:06:05 +00:00
GitLab Bot
8320f7956d Add latest changes from gitlab-org/gitlab@master 2019-09-27 15:06:16 +00:00
Aleksei Lipniagov
35fb27db27 Remove worker label from puma terminations metric 2019-08-12 13:52:15 +03:00
Jan Provaznik
606261e8e7 Run do_master_restart callback on server start
We want to call master_restart callback on start too - this callback
is used for cleaning up prometheus files. It has been added to
Omnibus already:
https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/3350

So make sure that Unicorn example configs are up-to-date and that
the same callback is called for Puma too.
2019-07-01 15:32:19 +00:00
Jan Provaznik
13364c00d5 Monitor only final states
There is no reason to monitor transition states so we ignore
ready and active states. We can get ratio of completed vs failed
requests from final states.
2019-06-12 12:33:34 +02:00
Jan Provaznik
d3a7bdda98 Moved RackTimeout observer to a different location
Because there will be similar observer for PumaWorkerKiller,
it makes sense to keep both on better place.
2019-06-12 12:09:04 +02:00
Jan Provaznik
497acb1670 Add metric for measuring PumaWorkerKiller activity
PumaWorkerKiller is used for periodically checking and killing
workers (the biggest one) if overall memory reaches specified
limit. This metric allows us to watch number of killed workers.
2019-06-10 16:09:40 +00:00
Jan Provaznik
a5adc6a024 Add Puma sampler
This sampler gathers Puma-specific metrics which can be used by
Prometheus then.
2019-05-29 12:27:44 +00:00
Stan Hu
d19ba4439b Reserve more RAM for master process in Puma
The Puma Worker Killer checks the total RAM used by both the master
and worker processes. Bump the limits to N+1 instead of N workers
to account for this.
2018-11-01 00:29:16 -07:00
Andrew Newdigate
1065f8ce7a Add experimental support for Puma
This allows us (and others) to test drive Puma without it affecting all
users. Puma can be enabled by setting the environment variable
"EXPERIMENTAL_PUMA" to a non empty value.
2018-10-25 17:50:15 +01:00