Prometheus metrics for senddata and git archive cache
1 unresolved thread
1 unresolved thread
This adds some new prometheus metrics:
- senddata hijackings by hijacker
- senddata response bytes by hijacker
- 'git archive' cache hits and misses
Merge request reports
Activity
assigned to @nick.thomas
- Resolved by Jacob Vosmaer (GitLab)
- Resolved by Jacob Vosmaer (GitLab)
- Resolved by Nick Thomas
- Resolved by Jacob Vosmaer (GitLab)
64 88 for _, injecter := range s.injecters { 65 89 if injecter.Match(header) { 66 90 s.hijacked = true 91 sendDataResponses.WithLabelValues(injecter.Name()).Inc() 67 92 helper.DisableResponseBuffering(s.rw) 68 injecter.Inject(s.rw, s.req, header) 93 crw := helper.NewCountingResponseWriter(s.rw) 94 injecter.Inject(crw, s.req, header) The tomfoolery is a quagmire. https://groups.google.com/forum/#!topic/golang-nuts/zq_i3Hf7Nbs It leads to a combinatorial explosion of wrapper code.
From what I can tell nothing hijacks of flushes this responsewriter.
assigned to @jacobvosmaer-gitlab
assigned to @nick.thomas
mentioned in commit bc8f3615
Please register or sign in to reply