refactor: Adapt SDK spans to use the kind parameter
#857
+17
−22
kind parameter
#857