Skip to content

Commit 45be739

Browse files
authored
Merge pull request #1054 from chungjac/invokellm
telemetry: add more latency fields to invokeLLM metric
1 parent 416c479 commit 45be739

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@
18161816
{
18171817
"name": "latency",
18181818
"type": "string",
1819-
"description": "latency/s from any operation or an execution like tool execution."
1819+
"description": "latency/s from any operation or an execution such as LLM response time."
18201820
},
18211821
{
18221822
"name": "loadFileTime",
@@ -2192,6 +2192,11 @@
21922192
"type": "string",
21932193
"description": "Generic name of a template"
21942194
},
2195+
{
2196+
"name": "toolCallLatency",
2197+
"type": "string",
2198+
"description": "latency/s from any operation or an execution like tool execution."
2199+
},
21952200
{
21962201
"name": "toolId",
21972202
"type": "string",
@@ -2874,6 +2879,14 @@
28742879
{
28752880
"type": "cwsprChatConversationType"
28762881
},
2882+
{
2883+
"type": "cwsprChatTimeBetweenChunks",
2884+
"required": false
2885+
},
2886+
{
2887+
"type": "cwsprChatTimeToFirstChunk",
2888+
"required": false
2889+
},
28772890
{
28782891
"type": "cwsprToolName"
28792892
},
@@ -2891,6 +2904,10 @@
28912904
{
28922905
"type": "latency",
28932906
"required": false
2907+
},
2908+
{
2909+
"type": "toolCallLatency",
2910+
"required": false
28942911
}
28952912
]
28962913
},

0 commit comments

Comments
 (0)