Skip to content

Commit d09d53c

Browse files
authored
Update README.md
1 parent a073fd2 commit d09d53c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,9 @@ builder.Services.Decorate<IInterfaceDecorated>((decorated) =>
7777
| ```activityNamingSchema``` | IActivityNamingSchema? | The naming schema that will be used to automatically name spans. You can add your own naming schemas based on convention | ```MethodFullNameSchema``` | False |
7878
| ```decorateAllMethods``` | bool | Whether to automatically decorate all of the interface operations | ```true``` | False |
7979

80+
### Setting span preferences with attributes:
81+
You can use the ```TraceActivity``` attribute to set specific span preferences, or if you're using the TraceDecorator with the ```decorateAllMethods``` parameter set to false: declare which methods should be instrumented.
82+
83+
<img width="795" alt="image" src="https://user-images.githubusercontent.com/93863/171303020-78206ba1-230f-4519-9fa0-6d8f33938be3.png">
84+
85+

0 commit comments

Comments
 (0)