Add more posthog analytics (privacy aware) (#6122)

This commit is contained in:
Zane 2025-12-16 08:59:14 -08:00 committed by GitHub
parent 036f4f74d9
commit 8a91f15731
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 1339 additions and 48 deletions

View file

@ -2381,6 +2381,29 @@
}
}
},
"/telemetry/event": {
"post": {
"tags": [
"super::routes::telemetry"
],
"operationId": "send_telemetry_event",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TelemetryEventRequest"
}
}
},
"required": true
},
"responses": {
"202": {
"description": "Event accepted for processing"
}
}
}
},
"/tunnel/start": {
"post": {
"tags": [
@ -5301,6 +5324,21 @@
"inlineMessage"
]
},
"TelemetryEventRequest": {
"type": "object",
"required": [
"event_name"
],
"properties": {
"event_name": {
"type": "string"
},
"properties": {
"type": "object",
"additionalProperties": {}
}
}
},
"TextContent": {
"type": "object",
"required": [