-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
aspect: analyticsAnything related to analyticsAnything related to analyticsaspect: performanceanything related to performanceanything related to performancecomponent: servereditor: code (browser)editor: jetbrainsmeta: staleThis issue/PR is stale and will be closed soonThis issue/PR is stale and will be closed soonteam: IDEteam: webappIssue belongs to the WebApp teamIssue belongs to the WebApp team
Description
Bug description
The API method server.trackEvent()
is being called too frequently, putting excessive load on our servers.
It would be good to:
- find out which events are tracked the most frequently
- ... re-evaluate whether they're still useful, or if we can stop tracking them
- ... if they're still useful, see if we can send them to our analytics backend (segment) directly instead of routing them through
server
server.trackEvent()
seems to be called most often by the dashboard and by the IDE backends (both VS Code and JetBrains).
From Slack (internal):
trackEvent
is by far our most called API method (even beatinggetWorkspace
- and has 2x the callrate ofsendHeartbeat
😬 )It puts considerable load on our server instances.
From Grafana (internal):
Steps to reproduce
- Look at the API call rates in Grafana
Workspace affected
No response
Expected behavior
No response
Example repository
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
aspect: analyticsAnything related to analyticsAnything related to analyticsaspect: performanceanything related to performanceanything related to performancecomponent: servereditor: code (browser)editor: jetbrainsmeta: staleThis issue/PR is stale and will be closed soonThis issue/PR is stale and will be closed soonteam: IDEteam: webappIssue belongs to the WebApp teamIssue belongs to the WebApp team
Type
Projects
Status
Done