1. 16 Jul, 2021 1 commit
  2. 15 Jul, 2021 1 commit
    • Sean McGivern's avatar
      Remove Sidekiq `probe_jobs` probe · ef863d1e
      Sean McGivern authored
      This was generally fast but had two unfortunate effects that made it
      impractical in production:
      1. The script got slower the larger the queue, as it scanned all jobs in
      2. Because it was a Lua script, it blocked Redis execution entirely
         while running.
      The combination of these two can lead to a catastrophic case. When a
      queue is very long, that's precisely the time when we want jobs to be
      processed quickly. But we'd see that jobs were blocked by the metrics
      script, which is the opposite of what we need at that time.
  3. 05 Jul, 2021 2 commits
  4. 01 Jul, 2021 3 commits
  5. 30 Jun, 2021 2 commits
  6. 28 Jun, 2021 3 commits
    • Sean McGivern's avatar
      Add probe_jobs_limit probe for Sidekiq · 0b9c0dce
      Sean McGivern authored
      This does the same as #probe_jobs, but only looks at the first
      PROBE_JOBS_LIMIT jobs in each queue. This means that we run a single
      LRANGE command for each queue, which does not block other commands. For
      queues over PROBE_JOBS_LIMIT in size, this means that we will not have
      completely accurate statistics, but the probe performance will also not
      degrade as the queue gets larger.
      DO NOT USE this and probe_jobs together, as they export the same
      metric (sidekiq_enqueued_jobs).
    • Ahmad Sherif's avatar
      Merge branch 'fix-pipelines' into 'master' · 2fa2477d
      Ahmad Sherif authored
      Add explicit dast stage
      See merge request gitlab-org/gitlab-exporter!144
    • Sean McGivern's avatar
      Add explicit dast stage · afda8bda
      Sean McGivern authored
  7. 01 Jun, 2021 8 commits
  8. 20 Apr, 2021 3 commits
  9. 23 Mar, 2021 2 commits
  10. 22 Mar, 2021 1 commit
  11. 19 Feb, 2021 1 commit
  12. 17 Feb, 2021 1 commit
  13. 27 Jan, 2021 2 commits
  14. 26 Jan, 2021 2 commits
  15. 25 Jan, 2021 7 commits
  16. 21 Jan, 2021 1 commit
    • Kamil Trzciński's avatar
      Optimise `DB probe` · 6b46b37a
      Kamil Trzciński authored
      This fixes two memory/CPU aspects of DB probe:
      - connection re-use across different probes
        where the same connection string is used
      - the type mapping is done only once
      This improves execution and memory usage by:
      - about `4M-6M` less of memory allocation due
        to type-mapping re-use
      - about `30%` execution time due to more efficient
        connection re-use