Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Lin Lin <[email protected]>
  • Loading branch information
xuan-cao-swi and cheempz authored Jan 7, 2025
1 parent c972696 commit 6e3ead2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ end
add_tracer :method_name, 'custom_span_name', { attributes: { 'any' => 'attributes' }, kind: :span_kind }
```

For example, if you want to instrument class function or instance function `create_session` inside application controller
For example, if you want to instrument class or instance method `create_session` inside an application controller:

```ruby
class SessionsController < ApplicationController
Expand Down

0 comments on commit 6e3ead2

Please sign in to comment.