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.

  • 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
handlers.go 6.65 KB