Closed SergeyKanzhelev closed 5 years ago
Span.Kind should be set early to allow correct metrics calculation. This should be reflected in API design - getter/setter pattern may not be ideal here. Consider requiring span Kind in constructor or Create method.
Span.Kind
Kind
Create
Ideally - span kind should be passed on creation of a span builder and should not be changeable (no setter) after that.
Span.Kind
should be set early to allow correct metrics calculation. This should be reflected in API design - getter/setter pattern may not be ideal here. Consider requiring spanKind
in constructor orCreate
method.