From d297fdef7d03602cc265685a95ff77259d2752ec Mon Sep 17 00:00:00 2001 From: Justin Hammond <39606064+Justintime50@users.noreply.github.com> Date: Tue, 20 Jun 2023 12:47:16 -0600 Subject: [PATCH] fix: variable typo in README for instrumentation (#1231) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bf953f45..337e93cc 100644 --- a/README.md +++ b/README.md @@ -266,7 +266,7 @@ For example: ```ruby Stripe::Instrumentation.subscribe(:request_end) do |request_event| # Filter out high-cardinality ids from `path` - path_parts = event.path.split("/").drop(2) + path_parts = request_event.path.split("/").drop(2) resource = path_parts.map { |part| part.match?(/\A[a-z_]+\z/) ? part : ":id" }.join("/") tags = {