diff --git a/src/http_hook.js b/src/http_hook.js index 8f96574..2091334 100644 --- a/src/http_hook.js +++ b/src/http_hook.js @@ -48,7 +48,7 @@ const init = function (client, config) { const delta = process.hrtime(start) const value = delta[0] + delta[1] / 1e9 - routeSum.observe(value) + routeSum.observe(labels, value) if (config.enableExemplars) { routeHist.observe({ labels, value, exemplarLabels })