Commit 0adf5c66 authored by Mike Jang's avatar Mike Jang

Merge branch 'ali/update-snowplow-standard-schema-docs' into 'master'

Update Snowplow `gitlab_standard` schema docs

See merge request gitlab-org/gitlab!52741
parents c1892d26 7ea80cc8
...@@ -483,12 +483,16 @@ For GitLab.com, we're setting up a [QA and Testing environment](https://gitlab.c ...@@ -483,12 +483,16 @@ For GitLab.com, we're setting up a [QA and Testing environment](https://gitlab.c
### `gitlab_standard` ### `gitlab_standard`
The [`gitlab_standard` schema](https://gitlab.com/gitlab-org/iglu/-/blob/master/public/schemas/com.gitlab/gitlab_standard/jsonschema/1-0-0) is available. We are currently working towards including the [`gitlab_standard` schema](https://gitlab.com/gitlab-org/iglu/-/blob/master/public/schemas/com.gitlab/gitlab_standard/jsonschema/) with every event. See [Standardize Snowplow Schema](https://gitlab.com/groups/gitlab-org/-/epics/5218) for details.
The [`StandardContext`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/tracking/standard_context.rb) class represents this schema in the application.
| Field Name | Required | Type | Description | | Field Name | Required | Type | Description |
|--------------|---------------------|---------|--------------------------------| |----------------|---------------------|-----------------------|---------------------------------------------------------------------------------------------|
| project_id | **{dotted-circle}** | integer | ID of the associated project | | `project_id` | **{dotted-circle}** | integer | |
| namespace_id | **{dotted-circle}** | integer | ID of the associated namespace | | `namespace_id` | **{dotted-circle}** | integer | |
| `environment` | **{check-circle}** | string (max 32 chars) | Name of the source environment, such as `production` or `staging` |
| `source` | **{check-circle}** | string (max 32 chars) | Name of the source application, such as `gitlab-rails` or `gitlab-javascript` |
### Default Schema ### Default Schema
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment