add label to tts stt spans (#909)

Co-authored-by: Markus Frindt <m.frindt@cognigy.com>
This commit is contained in:
Markus Frindt
2024-09-25 22:44:15 +02:00
committed by GitHub
parent 724d4fb713
commit 402adc2098
4 changed files with 14 additions and 8 deletions

View File

@@ -1053,6 +1053,7 @@ class TaskGather extends SttTask {
this.span.setAttributes({
channel: 1,
'stt.label': this.label || 'None',
'stt.resolve': reason,
'stt.result': JSON.stringify(evt)
});