From 26a39a11decbeba298645220d53b06c9c73f30ee Mon Sep 17 00:00:00 2001 From: Dan Hofstede Date: Fri, 14 Aug 2020 05:19:24 -0400 Subject: [PATCH] Fixed param typo (#4) A typo in the plugin name caused it to look in the wrong place for the param. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6bce111..fc8d5dd 100644 --- a/index.js +++ b/index.js @@ -14,7 +14,7 @@ function MetricsByEndpoint(script, events) { script.config.processor = {}; } - useOnlyRequestNames = script.config.plugins["metrics-by-endpoint-test"].useOnlyRequestNames || false; + useOnlyRequestNames = script.config.plugins["metrics-by-endpoint"].useOnlyRequestNames || false; script.config.processor.metricsByEndpoint_beforeRequest = metricsByEndpoint_beforeRequest; script.config.processor.metricsByEndpoint_afterResponse = metricsByEndpoint_afterResponse;