mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-18 01:43:11 +01:00
feat(tracing): refine span name in handleHookStarted for clarity
This commit is contained in:
+1
-1
@@ -380,7 +380,7 @@ export function handleHookStarted(
|
||||
state: MessageHandlerState,
|
||||
): void {
|
||||
const otelService = accessor.get(IOTelService);
|
||||
const span = otelService.startSpan(`${GenAiOperationName.EXECUTE_HOOK} ${message.hook_event}:${message.hook_name}`, {
|
||||
const span = otelService.startSpan(`${GenAiOperationName.EXECUTE_HOOK} ${message.hook_name}`, {
|
||||
kind: SpanKind.INTERNAL,
|
||||
attributes: {
|
||||
[GenAiAttr.OPERATION_NAME]: GenAiOperationName.EXECUTE_HOOK,
|
||||
|
||||
Reference in New Issue
Block a user