Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-16Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-04Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-01Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-26Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2018-10-10Remove Git circuit breakerZeger-Jan van de Weg
Was introduced in the time that GitLab still used NFS, which is not required anymore in most cases. By removing this, the API it calls will return empty responses. This interface has to be removed in the next major release, expected to be 12.0.
2018-09-19Enable frozen string in app/controllers/**/*.rbgfyoung
Enables frozen string for the following: * app/controllers/*.rb * app/controllers/admin/**/*.rb * app/controllers/boards/**/*.rb * app/controllers/ci/**/*.rb * app/controllers/concerns/**/*.rb Partially addresses #47424.
2018-06-27Gitaly metrics check for read/writeabilityZeger-Jan van de Weg
Prior to this change, health checks checked for writeability of the NFS shards. Given we're moving away from that, this patch extends the checks for Gitaly to check for read and writeability. Potentially some dashboards will break, as over time these metrics will no longer appear as Prometheus doesn't get the data anymore. Observability in the circuit breaker will be reduced, but its not expected to be turned on and the circuit breaker is being removed soon too. Closes https://gitlab.com/gitlab-org/gitaly/issues/1218
2018-06-21[Rails5] Force the `protect_from_forgery` callback run firstblackst0ne
Since Rails 5.0 the `protect_from_forgery` callback doesn't run first by default anymore. [1] Instead it gets inserted into callbacks chain where callbacks get called in order. This commit forces the callback to run first. [1]: https://github.com/rails/rails/commit/39794037817703575c35a75f1961b01b83791191
2018-01-25Add a gRPC health check to ensure Gitaly is upStan Hu
This will enable Geo to skip shards that not operational. Relates to gitlab-org/gitlab-ee#4329
2017-12-08Move the circuitbreaker check out in a separate processBob Van Landuyt
Moving the check out of the general requests, makes sure we don't have any slowdown in the regular requests. To keep the process performing this checks small, the check is still performed inside a unicorn. But that is called from a process running on the same server. Because the checks are now done outside normal request, we can have a simpler failure strategy: The check is now performed in the background every `circuitbreaker_check_interval`. Failures are logged in redis. The failures are reset when the check succeeds. Per check we will try `circuitbreaker_access_retries` times within `circuitbreaker_storage_timeout` seconds. When the number of failures exceeds `circuitbreaker_failure_count_threshold`, we will block access to the storage. After `failure_reset_time` of no checks, we will clear the stored failures. This could happen when the process that performs the checks is not running.
2017-07-11Merge branch '33949-remove-healthcheck-access-token' into 'master'Sean McGivern
Remove the need to use health check token by adding ability to whitelist hosts Closes #33949 See merge request !12612
2017-07-11Support multiple Redis instances based on queue typePaul Charlton
2017-07-05Remove the need to use health check tokenPawel Chojnacki
in favor of whitelist that will be used to control the access to monitoring resources
2017-06-02Make login_counter instance variable instead of class one.Pawel Chojnacki
+ remove unecessarey require + fix small formatiing issues
2017-06-02Split metrics from health controller into metrics controllerPawel Chojnacki
2017-06-02Add trailing newline to response.Kevin Lyda
Prometheus requires a trailing newline in its response. + cleanup
2017-06-02Prometheus metrics first passPawel Chojnacki
metrics wip
2017-05-10Enable the Style/TrailingCommaInLiteral copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-07Add /-/readiness /-/liveness and /-/health_metrics endpoints to track ↵Paweł Chojnacki
application readiness