From e3eb16dda25da124ecfa2a9b65d962371f833f6b Mon Sep 17 00:00:00 2001 From: hveldstra Date: Thu, 16 Sep 2021 00:12:54 +0100 Subject: [PATCH] Fix metric name --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 826a9ef..9dc4f3d 100644 --- a/index.js +++ b/index.js @@ -52,7 +52,7 @@ function metricsByEndpoint_afterResponse(req, res, userContext, events, done) { reqName += baseUrl; } - const histoName = `plugins.metrics-by-endpont.response_time.${reqName}`; + const histoName = `plugins.metrics-by-endpoint.response_time.${reqName}`; if (res.headers['server-timing']) { const timing = getServerTimingTotal(res.headers['server-timing']);