Analytics Instrumentation Group
What we do
Analytics Instrumentation builds the tooling GitLab teams use to collect product usage data in a privacy-focused manner. The tooling covers internal events, billing events, and Service Ping.
Our charter and roadmap are in the internal handbook (internal).
How we work
We operate by GitLab’s Operating Principles: Speed with Quality, Ownership Mindset, and Customer Outcomes.
Our working practices are on the internal handbook page Analytics Instrumentation: How We Work (internal). That page is the single source for the board, the workflow stages, weights, labels, and what we measure.
How to reach us
If you have any questions start by @ mentioning the product manager for the Analytics Instrumentation Group or by creating an issue in our issue board.
Responsibilities
Internal Events
We provide the tooling to allow for instrumentation of product usage events across GitLab’s services through a system we call internal events which uses the Snowplow event collection infrastructure under the hood. A list of all instrumented events can be found in our metrics dictionary. It is the responsibility of each engineering group to create and maintain their own events as those are domain specific, but Analytics Instrumentation is always willing to help on those issues be it via pair programming or code reviews.
We are actively monitoring the overall health of internal events via Monte Carlo alerts and Tableau dashboards.
Analytics Instrumentation agents and flows
We maintain GitLab Duo Agent Platform agents and flows that help engineering groups plan, implement, and review internal events instrumentation. For what each agent and flow does and how to start it, see Analytics Instrumentation agents and flows.
Billing Events
We provide tooling to allow for emitting billing events across GitLab’s services, also via the internal events system. You can find more details in the Usage Billing documentation.
Service Ping Metrics
We’re responsible to deliver a reliable Service Ping that runs every week on SaaS and Self Managed instances. Our responsiblity is tooling and automations for metric collections to set the company up for success to deliver Service Ping data to our data warehouse. It is the responsibility of each engineering group to create and maintain their own metrics as those are domain specific, but Analytics Instrumentation is always willing to help on those issues be it via pair programming or our office hours. A list of all metrics can be found on metrics.gitlab.com.
For questions related to a specific metric, its definition and/or implementation, please contact the Product Manager of the group which owns the metric. You can find information about the metric including its data category, whether it is considered an xMAU metric, its group designation and more in the metric dictionary. We are actively monitoring the overall health of Service Ping via Monte Carlo alerts and Tableau dashboards.
Projects
These are important projects that we maintain besides our involvement in the main GitLab codebase.
- Version App
- Metrics Dictionary and Metrics Dictionary from Growth group.
- Snowplow Pseudonymization
- Iglu Schema repository for GitLab
Team members
The following people are permanent members of the Analytics Instrumentation Group:
| Name | Role |
|---|---|
Ashwin Bilgi
|
Engineering Manager, Analytics:Analytics Instrumentation |
Ankit Panchal
|
Senior Frontend Engineer, Analytics:Analytics Instrumentation |
Homer Silva
|
Backend Engineer, Analytics:Analytics Instrumentation |
Michał Wielich
|
Backend Engineer, Analytics:Analytics Instrumentation |
Nwanna Isong
|
Backend Engineer, Analytics:Analytics Instrumentation |
Error budget
We maintain UsageData API endpoints under the service_ping feature to track events, and because of this we must monitor our budget spend.
To investigate budget spend, see the overview and details Grafana dashboards for Analytics Instrumentation. You can also check requests contributing to spending the budget in Kibana by filtering by the service_ping feature. See an example Kibana view.
Note that the budget spend is calculated proportionally by requests failing apdex or failing with an error, and not by how much the target is exceeded. For example, if we had an endpoint with a set goal of 1s request duration, then bringing the request duration from 10s to 5s would not improve the budget.
Incidents
Our incident process is in the internal handbook (internal).
Out of office coverage process
An OOO coverage process helps reduce the mental load of “remembering all the things” while preparing for being away from work. This process allows us to organize the tasks we need to complete before time off and make the team successful.
Open a new issue in the Analytics Instrumentation project with the out_of_office_coverage_template.
Onboarding
All new team members to the Analytics Instrumentation teams are provided an onboarding issue to help ramp up on our analytics tooling. New team member members should create their own onboarding issue in the gitlab-org/analytics-section/analytics-instrumentation/internal project using the engineer_onboarding template.
Quick Links
| Resource | Description |
|---|---|
| Internal Analytics Docs | Docs for instrumenting internal analytics at GitLab |
| Analytics Instrumentation Monitoring and Troubleshooting | Information around Troubleshooting Analytics Instrumentation infrastructure |
| Analytics Instrumentation Infrastructure | Information about the infrastructure we run |
| Internal Events Data Flows | Documentation of internal data flows across different deployment types |
| Service Ping Data Flows | Documentation of service ping data flows across different deployment types |
| Service Ping Guide | An implementation guide for Service Ping |
| Privacy Policy | Our privacy policy outlining what data we collect and how we handle it |
Analytics Instrumentation agents and flows
Internal Analytics Infrastructure
Internal Events Data Flows
Service Ping Data Flows
2a674ba3)
Ashwin Bilgi
Ankit Panchal
Homer Silva
Michał Wielich
Nwanna Isong