feat(telemetry): Add extension name to ToolCallEvent telemetry (#12343)

Co-authored-by: Shnatu <snatu@google.com>
This commit is contained in:
Shardul Natu
2025-10-31 06:50:22 -07:00
committed by GitHub
parent 12472ce9b2
commit 236334d015
6 changed files with 13 additions and 1 deletions
+3 -1
View File
@@ -1244,6 +1244,7 @@ describe('loggers', () => {
undefined,
undefined,
'test-extension',
'test-extension-id',
);
const call: CompletedToolCall = {
@@ -1278,7 +1279,8 @@ describe('loggers', () => {
'installation.id': 'test-installation-id',
'event.name': EVENT_TOOL_CALL,
'event.timestamp': '2025-01-01T00:00:00.000Z',
extension_id: 'test-extension',
extension_name: 'test-extension',
extension_id: 'test-extension-id',
function_name: 'mock_mcp_tool',
function_args: JSON.stringify(
{