GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  1. 01 Dec, 2020 1 commit
    • Philipp Winter's avatar
      Make metrics more idiomatic to Prometheus. · e3135a66
      Philipp Winter authored
      Our metrics aren't implemented in the way Prometheus recommends.  This
      patch makes use of labels and renames our metrics to change that.  For
      example, instead of having two metrics called cache_hits and
      cache_misses, we now have a single metric called cache_total and it
      accepts a "type" label that can take on the values "hit" or "miss".
      
      This patch fixes #10.
      e3135a66
  2. 30 Nov, 2020 1 commit
    • Philipp Winter's avatar
      Add +1 to the final bucket. · 76dfe653
      Philipp Winter authored
      Our timeout is set to 60 by default, so the actual execution time is 60
      + a few milliseconds.  Adding +1 to the final bucket covers that case.
      76dfe653
  3. 26 Nov, 2020 1 commit
  4. 25 Nov, 2020 1 commit
  5. 23 Nov, 2020 1 commit
  6. 21 Nov, 2020 3 commits
    • Philipp Winter's avatar
      Fix broken unit test. · 05811608
      Philipp Winter authored
      05811608
    • Philipp Winter's avatar
      Implement Prometheus-based metrics. · 337a3afa
      Philipp Winter authored
      The way Prometheus works is that a central instance scrapes metrics from
      various endpoints, bridgestrap being one of them.  We expose a new HTTP
      handler for /metrics and let our Prometheus library do the rest.
      
      This patch fixes #4
      337a3afa
    • Philipp Winter's avatar
      Use channel-based request dispatcher. · cf1bce74
      Philipp Winter authored
      So far, bridgestrap would serialise requests by relying on a mutex's
      locking mechanism.  That's dirty.  This patch implements a channel-based
      dispatching mechanism that guarantees order (mutexes don't).  In
      addition to that, we can now log the number of outstanding requests,
      which is good to know.
      cf1bce74
  7. 20 Nov, 2020 5 commits
  8. 19 Nov, 2020 5 commits
  9. 18 Nov, 2020 3 commits
  10. 16 Nov, 2020 5 commits
  11. 13 Nov, 2020 1 commit
  12. 12 Nov, 2020 1 commit
  13. 20 Oct, 2020 1 commit
  14. 15 Oct, 2020 4 commits
  15. 06 Oct, 2020 2 commits
  16. 02 Oct, 2020 1 commit
  17. 30 Sep, 2020 1 commit
  18. 20 Aug, 2020 2 commits
  19. 19 Aug, 2020 1 commit