Skip to content

Commit 6e4ebb4

Browse files
committed
add some waveai telemetry data to the docs
1 parent e2ea4b4 commit 6e4ebb4

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

docs/docs/telemetry.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Below is a list of the event types collected in the new telemetry system. More e
7676
| `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 |
7777
| `conn:connect` | Logged each time a backend ssh/wsl connection connects (logs the conneciton type, no hostname or IP is sent) |
7878
| `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) |
7980

8081
## Event Properties
8182

@@ -115,6 +116,24 @@ Each event may contain the following properties that are relevant to the particu
115116
| `count:sshconn` | Total number of SSH connections |
116117
| `count:wslconn` | Total number of WSL connections |
117118
| `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 |
118137

119138
---
120139

0 commit comments

Comments
 (0)