1. 07 2月, 2019 1 次提交
  2. 05 2月, 2019 2 次提交
  3. 30 1月, 2019 1 次提交
    • A
      Add OpenTracing instrumentation for Action View Render events · d022ce86
      Andrew Newdigate 提交于
      This change adds three new instrumentations, driven through rails
      notifications: render_template.action_view,
      render_collection.action_view and render_partial.action_view.
      
      These can help developers understand why renders are taking a long
      time which may in turn help them to improve their performance.
      d022ce86
  4. 25 1月, 2019 1 次提交
    • T
      Use http_max_redirects opt to replace monkeypatch · f234aef9
      Thong Kuah 提交于
      http_max_redirects was introduced in 4.2.2, so upgrade kubeclient.
      
      The monkey-patch was global so we will have to check that all instances
      of Kubeclient::Client are handled.
      
      Spec all methods of KubeClient
      
      This should provide better confidence that we are indeed disallowing
      redirection in all cases
      f234aef9
  5. 24 1月, 2019 2 次提交
  6. 23 1月, 2019 2 次提交
    • R
      [API] Omit X-Total{,-Pages} when count > 10k · 26978cb2
      Rémy Coutable 提交于
      Signed-off-by: NRémy Coutable <remy@rymai.me>
      26978cb2
    • A
      Adds inter-service OpenTracing propagation · ca464b60
      Andrew Newdigate 提交于
      This change allows the GitLab rails and sidekiq components to receive
      tracing spans from upstream services such as Workhorse and pass these
      spans on to downstream services including Gitaly and Sidekiq.
      
      This change will also emit traces for incoming and outgoing requests
      using the propagated trace information. This will allow operators and
      engineers to view traces across the Workhorse, GitLab Rails, Sidekiq and
      Gitaly components.
      
      Additional intra-service instrumentation will be added in future
      changes.
      ca464b60
  7. 17 1月, 2019 2 次提交
    • A
      Conditionally initialize the global opentracing tracer · 57a8859a
      Andrew Newdigate 提交于
      This change will instantiate an OpenTracing tracer and configure it
      as the global tracer when the GITLAB_TRACING environment variable is
      configured. GITLAB_TRACING takes a "connection string"-like value,
      encapsulating the driver (eg jaeger, etc) and options for the driver.
      
      Since each service, whether it's written in Ruby or Golang, uses the
      same connection-string, it should be very easy to configure all
      services in a cluster, or even a single development machine to be
      setup to use tracing.
      
      Note that this change does not include instrumentation or propagation
      changes as this is a way of breaking a previous larger change into
      components. The instrumentation and propagation changes will follow
      in separate changes.
      57a8859a
    • J
      Actually set raise_on_unfiltered_parameters to true · 4724afa0
      Jasper Maes 提交于
      4724afa0
  8. 16 1月, 2019 1 次提交
    • A
      Extract process_name from GitLab::Sentry · 2c0d69d3
      Andrew Newdigate 提交于
      GitLab::Sentry has a program_context method to determine whether a
      Sentry exception occurred in Sidekiq or rails. Since we will need
      similar functionality for distributed tracing, this change extracts the
      program_context method into GitLab.process_name for more general
      consumption.
      2c0d69d3
  9. 10 1月, 2019 1 次提交
  10. 04 1月, 2019 2 次提交
  11. 03 1月, 2019 1 次提交
  12. 27 12月, 2018 2 次提交
  13. 25 12月, 2018 1 次提交
  14. 21 12月, 2018 1 次提交
  15. 18 12月, 2018 3 次提交
  16. 15 12月, 2018 1 次提交
  17. 13 12月, 2018 1 次提交
  18. 07 12月, 2018 3 次提交
  19. 03 12月, 2018 1 次提交
  20. 29 11月, 2018 4 次提交
  21. 28 11月, 2018 1 次提交
    • N
      Correctly handle data-loss scenarios when encrypting columns · 6ddefe7c
      Nick Thomas 提交于
      If the EncryptColumns background migration runs in a sidekiq with a
      stale view of the database schema, or when the purported destination
      columns don't actually exist, data loss can result. Attempt to work
      around these issues by reloading schema information before running
      the migration, and raising errors if the model reports that any of its
      source or destination columns are missing.
      6ddefe7c
  22. 27 11月, 2018 1 次提交
  23. 23 11月, 2018 2 次提交
  24. 14 11月, 2018 1 次提交
    • J
      Fix index for mysql adapter · e00b815e
      Jan Provaznik 提交于
      * similar to rails 5 it assures that index length is set for blob
        columns also in rails 4
      * it also ignores multiple definitions of indexes for mysql, for some
        tables we define multiple indexes on the same set of columns, but with
        different parameters (opclasses, where), these are not supported by
        mysql adapter so the second definition of index is skipped
      e00b815e
  25. 12 11月, 2018 1 次提交
  26. 08 11月, 2018 1 次提交