Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 12月 13, 2023
    • Stan Hu's avatar
      Fix metrics server not shutting down when Puma is stopped · 593bcda3
      Stan Hu 创作于
      Previously if a separate metrics server were configured and
      Puma were stopped, the metrics server would continue to run. When
      Puma is started again, it attempts to spawn a new metrics server,
      but this fails repeatedly because the port has already been taken.
      
      To fix this, add an `at_exit` handler that will shutdown the process
      supervisor if Puma exists. This won't help the case if Puma is
      abruptly killed, however.
      
      Relates to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8109
      
      Changelog: fixed
      593bcda3
  2. 11月 08, 2023
  3. 7月 10, 2023
  4. 6月 27, 2023
    • Kamil Trzciński's avatar
      Add `gitlab-utils` gem · 5ca2cd36
      Kamil Trzciński 创作于
      The purpose of this Gem is to move all `Gitlab::Utils` code
      into the Gem, and use this for all common functions that
      are not monolith specific.
      5ca2cd36
  5. 6月 26, 2023
    • Kamil Trzciński's avatar
      Add `gitlab-utils` gem · 4278b190
      Kamil Trzciński 创作于
      The purpose of this Gem is to move all `Gitlab::Utils` code
      into the Gem, and use this for all common functions that
      are not monolith specific.
      4278b190
  6. 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
  7. 1月 12, 2023
  8. 1月 10, 2023
  9. 12月 21, 2022
  10. 12月 16, 2022
  11. 7月 06, 2022
    • Matthias Kaeppler's avatar
      Add heap fragmentation metric · 57e7e0b0
      Matthias Kaeppler 创作于
      We need to know to what extent the Ruby heap is
      fragmented since this can lead to higher and sustained
      memory use in production.
      
      We add this metric to the existing RubySampler.
      
      Changelog: added
      57e7e0b0
  12. 6月 30, 2022
  13. 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
  14. 5月 06, 2022
    • Matthias Kaeppler's avatar
      Separate Sidekiq metrics and health-checks server · 57ab5abd
      Matthias Kaeppler 创作于
      It has been a long-standing issue that for Sidekiq,
      serving metrics and health-checks was coupled into
      a single server.
      
      We had already separated settings keys for these two
      concerns previously, in anticipation of splitting
      these endpoints apart, which is a breaking change.
      
      We can now do this with 15.0.
      
      Changelog: changed
      57ab5abd
  15. 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
  16. 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
  17. 3月 17, 2022
  18. 3月 15, 2022
  19. 2月 15, 2022
  20. 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
  21. 1月 19, 2022
  22. 1月 12, 2022
  23. 1月 10, 2022
  24. 12月 20, 2021
  25. 12月 16, 2021
  26. 12月 08, 2021
  27. 12月 03, 2021
加载中