Commit 37a3e96
authored
Use module name in fx tracing when event name is reflect (#44199)
### What does this PR do?
Update fx tracing to use the module name when the event name is from reflect.
### Motivation
We currently have many spans named `reflect.makeFuncStub()`, which doesn't let us know where the event comes from.
Using the module name and event type instead gives us a lot more information.
Eg. `reflect.makeFuncStub()` -> `provide(comp/core/ipc)`.
### Describe how you validated your changes
Manual testing.
### Additional Notes
Co-authored-by: pierre.gimalac <pierre.gimalac@datadoghq.com>1 parent 62ba3ab commit 37a3e96
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
118 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
| |||
0 commit comments