Implement Product Analytics Ruby SDK on Version App
Problem
Currently, we do not have good insights into the usage of our version app. We often treat it as just there for receiving and forwarding Service Pings, but as evidenced by https://gitlab.com/gitlab-org/gitlab-services/version.gitlab.com/-/issues/19 people actually use it to look at data as well. Additionally, customer success members are using version app to upload manually generated service pings.
At the same time the Ruby SDK is not yet used anywhere by ourselves, which is critical to understand potential shortcomings.
Desired Outcome
Ruby SDK is set up on the version app to dogfood the SDKs and generate more insights into the usage of the version app.
Proposed Solution
- Add the Ruby SDK and instrument events for:
- Successful upload of a manually generated service ping
- Failed upload of a manually generated service ping
FE logic]:
Data needed for the implementation [copies- host:
ENV['BACKEND_SDK_HOST'] || "http://localhost:9090"
- app_id:
ENV['BACKEND_SDK_APP_ID'] || "version-app"
- sdk enabled:
ENV['BACKEND_SDK_ENABLED']
Edited by Michał Wielich