From 4ec3ef97f577a94b1b9281fa4ff669cc4778bacf Mon Sep 17 00:00:00 2001 From: Xuan <112967240+xuan-cao-swi@users.noreply.github.com> Date: Wed, 8 Jan 2025 10:09:47 -0500 Subject: [PATCH] Update README.md Co-authored-by: Lin Lin --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 148a967..2cd1b3b 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ class StaticController < ApplicationController end ``` -`add_tracer` can add a custom span to the specified instance or class method that is already defined. It requires the custom span name and optionally takes the span kind and additional attributes in hash format: +`add_tracer` can add a custom span to the specified instance or class method that is already defined. It can optionally set the span kind and additional attributes provided in hash format: ```ruby add_tracer :method_name, 'custom_span_name', { attributes: { 'any' => 'attributes' }, kind: :span_kind }