External replica proxy

This commit is contained in:
Alex Ellis
2017-07-27 19:37:55 +01:00
parent 33381a783a
commit f165ce2ca7
5 changed files with 92 additions and 9 deletions

View File

@ -143,7 +143,6 @@ func makeHandler(proxy *httputil.ReverseProxy, metrics *metrics.MetricOptions) h
metrics.GatewayFunctionsHistogram.WithLabelValues(service).Observe(seconds)
code := writeAdapter.GetHeaderCode()
metrics.GatewayFunctionInvocation.With(prometheus.Labels{"function_name": service, "code": strconv.Itoa(code)}).Inc()
}
}
}