Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 7月 10, 2023
  2. 4月 25, 2023
    • Kassio Borges's avatar
      Remove Settingslogic gem · c4d5c77c
      Kassio Borges 创作于
      - For better backward compatibility use string keys on
        GitlabSettings::Options
      - Remove all the Settingslogic references from code (not comments)
      - Ensure to use GitlabSettings::Options when pushing new options to
        Array values
      - Instead of inheriting from Hash, wrap a hash in
        GitlabSettings::Options and make it respond to all the requirements.
          * PROS: This provides more autonomy on what needs to be done
          * CONS: Some places were checking by Hash, we need to tackle these
          scenarios
      - Ensure to deep_merge return nested Options
      - Use the _raw_ version of options when passing to Fog::Storage
      - Ensure to load required active_support libraries
      - Show the option name in the GitlabSettings::MissingSetting error
      - Ensure to have an option `source` for the path of the `gitlab.yml`
      - Fix GitlabSettings::Options#deep_merge and
        GitlabSettings::Options#merge to return a new GitlabSettings::Options
        object with the options deep_merged/merged
      - Add GitlabSettings#reload! for backward compatibility
      - Make file/namespace initializer arguments
      - Avoid mutating Settings in sidekiq_cluster/cli tests
      - Fix configuration stubbing
      
      Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/286873
      c4d5c77c
  3. 1月 12, 2023
  4. 12月 21, 2022
  5. 12月 16, 2022
  6. 6月 30, 2022
  7. 5月 09, 2022
    • Matthias Käppler's avatar
      Address several edge cases in ProcessSupervisor · 625e38e0
      Matthias Käppler 创作于
      Fixed:
      - Do not determine `alive` status from the pidset returned
        by caller, since this can lead to "bouncing" state.
      - Swap loop-check with sleep call, since sleep suspends
        the calling thread, which may lead to the callback
        being invoked if `alive` is invalidated by another
        thread.
      - Do not trap INT and TERM by default; this was swallowing
        these signals for the Puma master.
      
      Changelog: fixed
      625e38e0
    • Matthias Kaeppler's avatar
      Configure gitlab-metrics-exporter logs · 93f3c1d9
      Matthias Kaeppler 创作于
      This is not in use yet, but we should already
      pass in the correct settings.
      93f3c1d9
  8. 4月 25, 2022
    • Matthias Kaeppler's avatar
      Integrate Golang metrics server with Puma · 906d53f5
      Matthias Kaeppler 创作于
      This change:
      
      - Adds a rake task to install gitlab-metrics-exporter
        into a given directory.
      - Allows to run it in place of the existing Ruby based
        exporters; this is guarded by an environment variable.
      - Extends the existing end-to-end test to test both
        Ruby and Go implementations.
      906d53f5
  9. 3月 25, 2022
    • Matthias Käppler's avatar
      Fix missing metrics for Sidekiq exporter server · 0e77c181
      Matthias Käppler 创作于
      We were accidentally deleting metrics the exporter
      server exported about itself. Actual sidekiq worker
      metrics were not affected.
      
      This happened because we would wipe the metrics dir
      whenever sidekiq_0 starts up, but this happens after
      the metrics server starts, so the worker was deleting
      those existing metrics.
      
      Changelog: fixed
      0e77c181
  10. 3月 17, 2022
  11. 3月 15, 2022
  12. 2月 15, 2022
  13. 2月 11, 2022
    • Matthias Käppler's avatar
      Allow metrics_server to target Puma · ae94c880
      Matthias Käppler 创作于
      So far we had only tested this with Sidekiq.
      This change makes sure that WebExporter and
      the puma metrics directory can be used.
      
      This is a prerequisite for extracting WebExporter
      into a separate process.
      ae94c880
  14. 1月 19, 2022
  15. 1月 12, 2022
  16. 12月 20, 2021
  17. 12月 16, 2021
  18. 12月 08, 2021
  19. 12月 03, 2021
加载中