Skip to content

Commit 7d264f3

Browse files
authored
Fix functions_to_trace example (#7018)
1 parent d8c25ce commit 7d264f3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/platforms/python/common/performance/instrumentation/custom-instrumentation.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ To avoid having custom performance instrumentation code scattered all over your
114114
import sentry_sdk
115115

116116
functions_to_trace = [
117-
"myrootmodule.eat_slice",
118-
"myrootmodule.swallow",
119-
"myrootmodule.chew",
120-
"myrootmodule.someothermodule.another.some_function",
121-
"myrootmodule.SomePizzaClass.some_method",
117+
{"qualified_name": "myrootmodule.eat_slice"},
118+
{"qualified_name": "myrootmodule.swallow"},
119+
{"qualified_name": "myrootmodule.chew"},
120+
{"qualified_name": "myrootmodule.someothermodule.another.some_function"},
121+
{"qualified_name": "myrootmodule.SomePizzaClass.some_method"},
122122
]
123123

124124
sentry_sdk.init(

0 commit comments

Comments
 (0)