You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/telemetry.mdx
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ Below is a list of the event types collected in the new telemetry system. More e
76
76
|`debug:panic`| Logged when a backend (Go) panic happens. Contains a debugging string that can be used to find which panic was hit in our source code. No data is sent |
77
77
|`conn:connect`| Logged each time a backend ssh/wsl connection connects (logs the conneciton type, no hostname or IP is sent) |
78
78
|`conn:connecterror`| Logged when you try to connect but it fails (logs the connection type, no hostname or IP is set, and no detailed error information is sent) |
79
+
|`waveai:post`| Logged after AI request completion with usage metrics (tokens, request counts, latency, etc. - no prompts or responses) |
79
80
80
81
## Event Properties
81
82
@@ -115,6 +116,24 @@ Each event may contain the following properties that are relevant to the particu
115
116
|`count:sshconn`| Total number of SSH connections |
116
117
|`count:wslconn`| Total number of WSL connections |
117
118
|`count:views`| Counts of the types of blocks (views) |
119
+
|`waveai:apitype`| AI API provider (OpenAI, Anthropic, etc.) |
120
+
|`waveai:model`| AI model name |
121
+
|`waveai:inputtokens`| Number of input tokens used |
122
+
|`waveai:outputtokens`| Number of output tokens generated |
123
+
|`waveai:requestcount`| Number of requests in conversation |
124
+
|`waveai:toolusecount`| Number of tool uses |
125
+
|`waveai:tooluseerrorcount`| Number of tool use errors |
126
+
|`waveai:tooldetail`| Map of tool names to usage counts |
127
+
|`waveai:premiumreq`| Number of premium API requests |
128
+
|`waveai:proxyreq`| Number of proxy requests |
129
+
|`waveai:haderror`| True/False if request had errors |
130
+
|`waveai:imagecount`| Number of images in context |
131
+
|`waveai:pdfcount`| Number of PDFs in context |
132
+
|`waveai:textdoccount`| Number of text documents in context |
133
+
|`waveai:textlen`| Total text length in context |
134
+
|`waveai:firstbytems`| Latency to first byte in milliseconds |
135
+
|`waveai:requestdurms`| Total request duration in milliseconds |
136
+
|`waveai:widgetaccess`| True/False if accessed via widget |
0 commit comments