Skip to content

Commit

Permalink
feat: add general latency metrics
Browse files Browse the repository at this point in the history
Problem:
- Soooooooooo many teams have specific latency metric fields and many are asking to add them for re-invent

Solution:
- De-dup a lot of them
e.g. amazonqGenerateApproachLatency, amazonqGenerateCodeResponseLatency, amazonqEndOfTheConversationLatency, etc
  • Loading branch information
jpinkney-aws committed Nov 13, 2024
1 parent 79d85a8 commit dadda6d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,21 @@
"type": "string",
"description": "Identifies the entity within the message that user interacts with."
},
{
"name": "clientLatency",
"type": "double",
"description": "The time duration in milliseconds to process an action on the client side"
},
{
"name": "serverLatency",
"type": "double",
"description": "The time duration in milliseconds to finish a request to the server side"
},
{
"name": "e2eLatency",
"type": "double",
"description": "The time duration in milliseconds to complete an end to end flow"
},
{
"name": "cwsprChatInteractionType",
"allowedValues": [
Expand Down

0 comments on commit dadda6d

Please sign in to comment.