File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -344,13 +344,13 @@ where
344
344
345
345
let event_meta = event. metadata ( ) ;
346
346
if let Some ( module_path) = event_meta. module_path ( ) {
347
- attributes. insert ( "tracing.module_path " . to_owned ( ) , module_path. into ( ) ) ;
347
+ attributes. insert ( "code.module.name " . to_owned ( ) , module_path. into ( ) ) ;
348
348
}
349
349
if let Some ( file) = event_meta. file ( ) {
350
- attributes. insert ( "tracing .file" . to_owned ( ) , file. into ( ) ) ;
350
+ attributes. insert ( "code .file.path " . to_owned ( ) , file. into ( ) ) ;
351
351
}
352
352
if let Some ( line) = event_meta. line ( ) {
353
- attributes. insert ( "tracing .line" . to_owned ( ) , line. into ( ) ) ;
353
+ attributes. insert ( "code .line.number " . to_owned ( ) , line. into ( ) ) ;
354
354
}
355
355
356
356
attributes. insert ( "sentry.origin" . to_owned ( ) , "auto.tracing" . into ( ) ) ;
You can’t perform that action at this time.
0 commit comments