Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[server] Add analytics API #4728

Closed
svenefftinge opened this issue Jul 7, 2021 · 2 comments · Fixed by #4753
Closed

[server] Add analytics API #4728

svenefftinge opened this issue Jul 7, 2021 · 2 comments · Fixed by #4753
Assignees

Comments

@svenefftinge
Copy link
Member

In order to send events from the dashboard and other places (vs code, local companion app, etc.) to our analytics end-point, the server should expose an API. I think it would be easiest to add a trackEvent method to the websocket protocol.

@csweichel
Copy link
Contributor

We already have the AnalyticsWriter API in gitpod-protocol. We could implement the AnalyticsWriter interface on the gitpod-server API. Downside is that we bloat extend that API further. Upside: we get authentication along for the ride and don't have to expose the segment write key/config.

@svenefftinge
Copy link
Member Author

we get authentication along for the ride and don't have to expose the segment write key/config.

Yes, I think adding it as a message to gitpod-service is easy and preferable also because it centralizes the analytics strategy (and its config).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants