We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
span.name
1 parent 7200f0f commit 351f967Copy full SHA for 351f967
relay-spans/src/v2_to_v1.rs
@@ -99,10 +99,8 @@ pub fn span_v2_to_span_v1(span_v2: SpanV2) -> SpanV1 {
99
}
100
101
102
- // Note: This writes the incoming `name` field to a the `sentry.name` attribute. This creates a
103
- // bit of duplication, since the attribute `sentry.name` will have the same value as the `op`
104
- // field. This duplication is temporary, since we will soon generate a proper `op` field that will
105
- // be different from the name.
+ // Write the incoming `name` field to a the `sentry.name` attribute, since the V1
+ // Span schema doesn't have a top-level `name` field.
106
if let Some(name) = name.value() {
107
data.insert(
108
"sentry.name".to_owned(),
0 commit comments