summaryrefslogtreecommitdiff
path: root/config/gitlab.yml.example
Commit message (Collapse)AuthorAgeFilesLines
* Update default path for repository_downloads_path in gitlab.yml.exampleDouglas Barbosa Alexandre2016-07-211-2/+2
|
* Refactor repository paths handling to allow multiple git mount pointsAlejandro Rodríguez2016-06-291-4/+10
|
* Move keep to ArtifactsControllerKamil Trzcinski2016-06-131-2/+2
|
* Allow to expire build artifactsKamil Trzcinski2016-06-131-0/+3
|
* Fix incorrect registry key valueAchilleas Pipinellis2016-06-101-1/+1
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/18441
* Add proper config values for Registry in gitlab.ymlAchilleas Pipinellis2016-05-221-4/+4
|
* Bring back path to registry settingsKamil Trzcinski2016-05-161-0/+1
|
* Bring back port to registry configurationKamil Trzcinski2016-05-161-1/+2
|
* Simplify registry configurationKamil Trzcinski2016-05-141-3/+1
|
* Remove unused partsKamil Trzcinski2016-05-091-1/+0
|
* Rename `images` to `container_registry`Kamil Trzcinski2016-05-091-0/+1
|
* Merge remote-tracking branch 'origin/master' into docker-registryKamil Trzcinski2016-05-091-1/+0
|\
| * Use the new admin settings for gravatarArtem Sidorenko2016-05-041-1/+0
| |
* | Auth tokenKamil Trzcinski2016-04-291-0/+10
|/
* Merge branch 'admin-email-frequency' into 'master' Jacob Vosmaer2016-04-281-2/+2
|\ | | | | | | | | | | | | | | | | Send 'admin emails' weekly, not daily Daily seems to be to spammy, so let's default to weekly instead. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15520 See merge request !3923
| * Send 'admin emails' weekly, not dailyJacob Vosmaer2016-04-261-2/+2
| | | | | | | | Daily seems to be to spammy, so let's default to weekly instead.
* | Backport GitHub Enterprise import support from EEStan Hu2016-04-261-0/+2
|/ | | | | | | | | | These changes were pulled from GitLab EE to support configuring an alternative API URL than the default https://api.github.com. In addition, the `verify_ssl` flag allows users to disable SSL cert checking. One modification: add a default `args` option if it does not exist to avoid breaking existing configurations.
* Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into auto-fsckJacob Vosmaer2016-04-131-0/+19
|\
| * Merge branch 'external-omniauth-providers' into 'master' Marin Jankovski2016-04-131-0/+7
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow Omniauth providers to be marked as external Related to #4009 With this MR we will be able to allow the user to set which Omniauth Providers they would like to have as external. All users login in via these providers will be marked as external, even if they already had an account before. If the provider is removed form the list of external providers, the users will be marked as internal at their next login. MR for Omnibus: gitlab-org/omnibus-gitlab!727 /cc @dblessing @DouweM See merge request !3657
| | * Documentation of featurePatricio Cano2016-04-111-0/+7
| | |
| * | Merge branch 'rs-archive-cache-worker-cron' into 'master' Dmitriy Zaporozhets2016-04-131-0/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Move RepositoryArchiveCacheWorker to sidekiq-cron Closes #15105 See merge request !3663
| | * | Move RepositoryArchiveCacheWorker to sidekiq-cronrs-archive-cache-worker-cronRobert Speicher2016-04-121-0/+3
| | |/ | | | | | | | | | Closes #15105
| * | Add changelog entries, install docs, and gitlab.yml.example entry for the ↵DJ Mountney2016-04-121-0/+9
| |/ | | | | | | trusted_proxies setting
* | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into auto-fsckJacob Vosmaer2016-04-121-1/+4
|\ \ | |/
| * Remove dumb debug statement and add many tests.Jacob Schatz2016-04-071-1/+1
| |
| * Added documentationPatricio Cano2016-04-061-0/+1
| |
| * Config examplesPatricio Cano2016-04-041-0/+2
| |
* | Rename almost all the thingsJacob Vosmaer2016-04-061-1/+1
| |
* | Rebase repo check MRJacob Vosmaer2016-04-041-0/+7
|/
* Improve and finish the fallback to the In-Reply-To and References header for ↵2364-fallback-to-in-reply-to-headerRémy Coutable2016-03-251-1/+1
| | | | | | | | | | | | | | | | the reply-by-email feature A few things to note: - The IncomingEmail feature is now enabled even without a correctly-formatted sub-address - Message-ID for new thread mail are kept the same so that subsequent notifications to this thread are grouped in the thread by the email service that receives the notification (i.e. In-Reply-To of the answer == Message-ID of the first thread message) - To maximize our chance to be able to retrieve the reply key, we look for it in the In-Reply-To header and the References header - The pattern for the fallback reply message id is "reply-[key]@[gitlab_host]" - Improve docs thanks to Axil
* Added omniauth-auth0 Gem + Applicable Documentation.Daniel Carraro2016-03-161-0/+6
|
* Document true/false as supported value.saml-decouplingDouwe Maan2016-02-191-2/+2
|
* Decouple SAML authentication from the default Omniauth logicPatricio Cano2016-02-181-2/+9
|
* Revert "Merge branch 'saml-decoupling' into 'master' "Douwe Maan2016-02-181-9/+2
| | | | | This reverts commit c04e22fba8d130a58f498ff48127712d7dae17ee, reversing changes made to 0feab326d52222dc0ab5bd0a6b15dab297f44aa9.
* Decouple SAML authentication from the default Omniauth logicPatricio Cano2016-02-181-2/+9
|
* Fix typos and grammarAchilleas Pipinellis2016-02-101-1/+2
| | | | [ci skip]
* Edit configuration files for relative URL supportAchilleas Pipinellis2016-02-091-2/+5
| | | | [ci skip]
* Optimize LDAP and add a search timeoutDrew Blessing2016-01-111-0/+5
|
* reCAPTCHA is configurable through Admin Settings, no reload needed.Gabriel Mazetto2015-12-281-6/+0
|
* Merge branch 'relocate-influxdb-settings' into 'master' Yorick Peterse2015-12-281-21/+0
|\ | | | | | | | | | | | | | | | | Move InfluxDB settings to ApplicationSetting This moves the settings from the YAML files to the database. cc @sytses See merge request !2228
| * Move InfluxDB settings to ApplicationSettingrelocate-influxdb-settingsYorick Peterse2015-12-281-21/+0
| |
* | Fixed syntax in gitlab.yml.exampleYorick Peterse2015-12-281-1/+1
| |
* | Merge branch 'restart-settings-are-moved-too' into 'master' Dmitriy Zaporozhets2015-12-281-2/+2
|\ \ | |/ |/| | | | | | | | | Restart settings are moved too. See merge request !2226
| * Restart settings are moved too.Sytse Sijbrandij2015-12-281-2/+2
| |
* | Merge branch 'influxdb' into 'master' Dmitriy Zaporozhets2015-12-281-0/+21
|\ \ | | | | | | | | | | | | | | | | | | Storing of application metrics in InfluxDB This adds support for tracking metrics in InfluxDB, which in turn can be visualized using Grafana. For more information see #2936. See merge request !2042
| * | Added host option for InfluxDBinfluxdbYorick Peterse2015-12-281-0/+1
| | |
| * | Only track method calls above a certain thresholdYorick Peterse2015-12-171-0/+3
| | | | | | | | | | | | | | | | | | | | | This ensures we don't end up wasting resources by tracking method calls that only take a few microseconds. By default the threshold is 10 milliseconds but this can be changed using the gitlab.yml configuration file.
| * | Storing of application metrics in InfluxDBYorick Peterse2015-12-171-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the ability to write application metrics (e.g. SQL timings) to InfluxDB. These metrics can in turn be visualized using Grafana, or really anything else that can read from InfluxDB. These metrics can be used to track application performance over time, between different Ruby versions, different GitLab versions, etc. == Transaction Metrics Currently the following is tracked on a per transaction basis (a transaction is a Rails request or a single Sidekiq job): * Timings per query along with the raw (obfuscated) SQL and information about what file the query originated from. * Timings per view along with the path of the view and information about what file triggered the rendering process. * The duration of a request itself along with the controller/worker class and method name. * The duration of any instrumented method calls (more below). == Sampled Metrics Certain metrics can't be directly associated with a transaction. For example, a process' total memory usage is unrelated to any running transactions. While a transaction can result in the memory usage going up there's no accurate way to determine what transaction is to blame, this becomes especially problematic in multi-threaded environments. To solve this problem there's a separate thread that takes samples at a fixed interval. This thread (using the class Gitlab::Metrics::Sampler) currently tracks the following: * The process' total memory usage. * The number of file descriptors opened by the process. * The amount of Ruby objects (using ObjectSpace.count_objects). * GC statistics such as timings, heap slots, etc. The default/current interval is 15 seconds, any smaller interval might put too much pressure on InfluxDB (especially when running dozens of processes). == Method Instrumentation While currently not yet used methods can be instrumented to track how long they take to run. Unlike the likes of New Relic this doesn't require modifying the source code (e.g. including modules), it all happens from the outside. For example, to track `User.by_login` we'd add the following code somewhere in an initializer: Gitlab::Metrics::Instrumentation. instrument_method(User, :by_login) to instead instrument an instance method: Gitlab::Metrics::Instrumentation. instrument_instance_method(User, :save) Instrumentation for either all public model methods or a few crucial ones will be added in the near future, I simply haven't gotten to doing so just yet. == Configuration By default metrics are disabled. This means users don't have to bother setting anything up if they don't want to. Metrics can be enabled by editing one's gitlab.yml configuration file (see config/gitlab.yml.example for example settings). == Writing Data To InfluxDB Because InfluxDB is still a fairly young product I expect the worse. Data loss, unexpected reboots, the database not responding, you name it. Because of this data is _not_ written to InfluxDB directly, instead it's queued and processed by Sidekiq. This ensures that users won't notice anything when InfluxDB is giving trouble. The metrics worker can be started in a standalone manner as following: bundle exec sidekiq -q metrics The corresponding class is called MetricsWorker.
* | | Add support for Google reCAPTCHA in user registration to prevent spammersStan Hu2015-12-271-0/+6
| |/ |/|
* | Merge branch 'feature/sidekiq-cron-config' into 'master' Dmitriy Zaporozhets2015-12-221-0/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sidekiq-cron configuration moved to gitlab.yml When `sidekiq-cron` was introduced, jobs configuration where placed in `schedule.yml` file. As discussed in #3928, this is not desirable. We moved it to `gitlab.yml`, exposing only the "cron" part of the configuration. See merge request !2087