Skip to content

codeintel: Update pings

Warren Gifford requested to merge ef/codeintel-update-pings into main

Created by: efritz

Summary of new data:

Will add a new field to the pub/sub payload with the following shape:

"new_code_intel_usage": {
	"start_time": "2020-04-20T15:29:17Z",
	"waus": 14,
	"event_summaries": [
		{
			"action": "hover",
			"source": "precise",
			"language_id": "go",
			"cross_repository": false,
			"waus": 1,
			"total_actions": 1
		},
		{
			"action": "hover",
			"source": "search",
			"language_id": "typescript",
			"cross_repository": false,
			"waus": 2,
			"total_actions": 2
		},
		{
			"action": "definitions",
			"source": "precise",
			"language_id": "",
			"cross_repository": false,
			"waus": 3,
			"total_actions": 3
		},
		{
			"action": "definitions",
			"source": "search",
			"language_id": "",
			"cross_repository": false,
			"waus": 4,
			"total_actions": 4
		},
		{
			"action": "references",
			"source": "precise",
			"language_id": "",
			"cross_repository": false,
			"waus": 5,
			"total_actions": 1
		},
		{
			"action": "references",
			"source": "search",
			"language_id": "",
			"cross_repository": false,
			"waus": 6,
			"total_actions": 3
		}
	]
}

This is accepted into BigQuery via https://github.com/sourcegraph/analytics/pull/74.

Closes https://github.com/sourcegraph/sourcegraph/issues/14673. Closes https://github.com/sourcegraph/sourcegraph/issues/14574. Closes https://github.com/sourcegraph/sourcegraph/issues/14120.

Merge request reports

Loading