Implement ruby-sdk for Product Analytics on Gitlab.com
Problem
Now that we have a Ruby SDK for Product Analytics we should start dogfooding the SDK.
Desired Outcome
The Ruby SDK gem is implemented in the Gitlab Backend codebase and developers are able to instrument events. Ideally, at least one example event is already implemented.
Proposed Solution
Since our aim is to reduce the overhead around having multiple ways to instrument an event and making decisions around which method is appropriate I'd suggest to integrate the Product Analytics Ruby SDK in our new Gitlab Internal Events setup. This would have multiple benefits:
- Only one call to instrument for developers
- We can directly compare interacting with the same events in Sisense/Tableau and Product Analytics Dashboards without additional work on the collection infrastructure.
For the beginning sending to Product Analytics should be enabled via a flag on the method to make sure we do not overwhelm our infrastructure.
The downside of this solution is that it is less flexible than using the SDK directly.
The dotted parts of this screenshot visualize the idea: