Skip to content

Commit 47889c4

Browse files
Remove outdated comment on empty span name (#328)
* Remove outdated comment on span name and replace it with recommendations from specification * Update guidance on empty span name Co-authored-by: Bogdan Drutu <[email protected]>
1 parent 27a10cd commit 47889c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

opentelemetry/proto/trace/v1/trace.proto

+1-3
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ message Span {
119119
// This makes it easier to correlate spans in different traces.
120120
//
121121
// This field is semantically required to be set to non-empty string.
122-
// When null or empty string received - receiver may use string "name"
123-
// as a replacement. There might be smarted algorithms implemented by
124-
// receiver to fix the empty span name.
122+
// Empty value is equivalent to an unknown span name.
125123
//
126124
// This field is required.
127125
string name = 5;

0 commit comments

Comments
 (0)