Telemetry Guide

At GitLab, we collect telemetry for the purpose of helping us build a better GitLab. Data about how GitLab is used is collected to better understand what parts of GitLab needs improvement and what features to build next. Telemetry also helps our team better understand the reasons why people use GitLab and with this knowledge we are able to make better product decisions.

We also encourage users to enable tracking, and we embrace full transparency with our tracking approach so it can be easily understood and trusted. By enabling tracking, users can:

  • Contribute back to the wider community.
  • Help GitLab improve on the product.

This documentation consists of three guides providing an overview of Telemetry at GitLab.

Telemetry Guide:

  1. Our tracking tools
  2. What data can be tracked
  3. Telemetry systems overview

Usage Ping Guide

  1. What is Usage Ping
  2. Usage Ping payload
  3. Disable Usage Ping
  4. Usage Ping request flow
  5. How Usage Ping works
  6. Implementing Usage Ping
  7. Developing and testing Usage Ping

Snowplow Guide

  1. What is Snowplow
  2. Snowplow schema
  3. Enabling Snowplow
  4. Snowplow request flow
  5. Implementing Snowplow JS (Frontend) tracking
  6. Implementing Snowplow Ruby (Backend) tracking
  7. Developing and testing Snowplow

More useful links:

Our tracking tools

We use several different technologies to gather product usage data.

Snowplow JS (Frontend)

Snowplow is an enterprise-grade marketing and product analytics platform which helps track the way users engage with our website and application. Snowplow JS is a frontend tracker for client-side events.

Snowplow Ruby (Backend)

Snowplow is an enterprise-grade marketing and product analytics platform which helps track the way users engage with our website and application. Snowplow Ruby is a backend tracker for server-side events.

Usage Ping

Usage Ping is a method for GitLab Inc to collect usage data on a GitLab instance. Usage Ping is primarily composed of row counts for different tables in the instance’s database. By comparing these counts month over month (or week over week), we can get a rough sense for how an instance is using the different features within the product. This high-level data is used to help our product, support, and sales teams.

For more details, read the Usage Ping guide.

Database import

Database imports are full imports of data into GitLab’s data warehouse. For, the PostgreSQL database is loaded into Snowflake data warehouse every 6 hours. For more details, see the data team handbook.


System logs are the application logs generated from running the GitLab Rails application. For more details, see the log system and logging infrastructure.

What data can be tracked

Our different tracking tools allows us to track different types of events. The event types and examples of what data can be tracked are outlined below.

Event Type Snowplow JS (Frontend) Snowplow Ruby (Backend) Usage Ping Database import ログシステム
Database counts
Pageview events
UI events
CRUD and API events
Event funnels
PostgreSQL Data
External services

Database counts

  • Number of Projects created by unique users
  • Number of users logged in the past 28 day

Database counts are row counts for different tables in an instance’s database. These are SQL count queries which have been filtered, grouped, or aggregated which provide high level usage data. The full list of available tables can be found in structure.sql.

Pageview events

  • Number of sessions that visited the /dashboard/groups page

UI Events

  • Number of sessions that clicked on a button or link
  • Number of sessions that closed a modal

UI events are any interface-driven actions from the browser including click data.

CRUD or API events

  • Number of Git pushes
  • Number of GraphQL queries
  • Number of requests to a Rails action or controller

These are backend events that include the creation, read, update, deletion of records, and other events that might be triggered from layers other than those available in the interface.

Event funnels

  • Number of sessions that performed action A, B, then C
  • Conversion rate from step A to B

PostgreSQL data

These are raw database records which can be explored using business intelligence tools like Sisense. The full list of available tables can be found in structure.sql.


These are raw logs such as the Production logs, API logs, or Sidekiq logs. See the overview of Logging Infrastructure for more details.

External services

These are external services a GitLab instance interacts with such as an external storage provider or an external container registry. These services must be able to send data back into a GitLab instance for data to be tracked.

Telemetry systems overview

The systems overview is a simplified diagram showing the interactions between GitLab Inc and self-managed instances.


Source file

GitLab Inc

For Telemetry purposes, GitLab Inc has three major components:

  1. Data Infrastructure: This contains everything managed by our data team including Sisense Dashboards for visualization, Snowflake for Data Warehousing, incoming data sources such as PostgreSQL Pipeline and S3 Bucket, and lastly our data collectors’s Snowplow Collector and GitLab’s Versions Application.
  2. This is the production GitLab application which is made up of a Client and Server. On the Client or browser side, a Snowplow JS Tracker (Frontend) is used to track client-side events. On the Server or application side, a Snowplow Ruby Tracker (Backend) is used to track server-side events. The server also contains Usage Ping which leverages a PostgreSQL database and a Redis in-memory data store to report on usage data. Lastly, the server also contains System Logs which are generated from running the GitLab application.
  3. Monitoring infrastructure: This is the infrastructure used to ensure is operating smoothly. System Logs are sent from to our monitoring infrastructure and collected by a FluentD collector. From FluentD, logs are either sent to long term Google Cloud Services cold storage via Stackdriver, or, they are sent to our Elastic Cluster via Cloud Pub/Sub which can be explored in real-time using Kibana.


For Telemetry purposes, self-managed instances have two major components:

  1. Data infrastructure: Having a data infrastructure setup is optional on self-managed instances. If you’d like to collect Snowplow tracking events for your self-managed instance, you can setup your own self-managed Snowplow collector and configure your Snowplow events to point to your own collector.
  2. GitLab: A self-managed GitLab instance contains all of the same components as mentioned above.

Differences between GitLab Inc and Self-managed

As shown by the orange lines, on Snowplow JS, Snowplow Ruby, Usage Ping, and PostgreSQL database imports all flow into GitLab Inc’s data infrastructure. However, on self-managed, only Usage Ping flows into GitLab Inc’s data infrastructure.

As shown by the green lines, on system logs flow into GitLab Inc’s monitoring infrastructure. On self-managed, there are no logs sent to GitLab Inc’s monitoring infrastructure.

The differences between and self-managed are summarized below:

Environment Snowplow JS (Frontend) Snowplow Ruby (Backend) Usage Ping Database import Logs system
Self-Managed (1) (1)

Note (1): Snowplow JS and Snowplow Ruby are available on self-managed, however, the Snowplow Collector endpoint is set to a self-managed Snowplow Collector which GitLab Inc does not have access to.