diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-15 18:08:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-15 18:08:13 +0300 |
commit | a29eae68f453c371271641899e00ea24339fb1c6 (patch) | |
tree | 5c7d43159cdaee44d3f510db0f42941ed3f3bb90 /doc/development | |
parent | f58a5001b9c4988d8b95178b028a3d82bb346e28 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development')
3 files changed, 20 insertions, 4 deletions
diff --git a/doc/development/internal_analytics/index.md b/doc/development/internal_analytics/index.md index 0875ea7afad..29d1a46c3cf 100644 --- a/doc/development/internal_analytics/index.md +++ b/doc/development/internal_analytics/index.md @@ -17,8 +17,8 @@ when developing new features or instrumenting existing ones. <div class="video-fallback"> See the video about <a href="https://www.youtube.com/watch?v=GtFNXbjygWo">the concepts of events and metrics.</a> </div> -<figure class="video_container"> - <iframe src="https://www.youtube-nocookie.com/embed/GtFNXbjygWo" frameborder="0" allowfullscreen="true"> </iframe> +<figure class="video-container"> + <iframe src="https://www.youtube-nocookie.com/embed/GtFNXbjygWo" frameborder="0" allowfullscreen> </iframe> </figure> Events and metrics are the foundation of the internal analytics system. diff --git a/doc/development/internal_analytics/internal_event_instrumentation/local_setup_and_debugging.md b/doc/development/internal_analytics/internal_event_instrumentation/local_setup_and_debugging.md index 56e83184060..244482a4c2e 100644 --- a/doc/development/internal_analytics/internal_event_instrumentation/local_setup_and_debugging.md +++ b/doc/development/internal_analytics/internal_event_instrumentation/local_setup_and_debugging.md @@ -48,6 +48,15 @@ By default, self-managed instances do not collect event data via Snowplow. We ca 1. You can now see all events being sent by your local instance in the [Snowplow Micro UI](http://localhost:9091/micro/ui) and can filter for specific events. +### Introduction to Snowplow Micro UI and API + +<div class="video-fallback"> + Watch the video about <a href="https://www.youtube.com/watch?v=netZ0TogNcA">Snowplow Micro</a> +</div> +<figure class="video-container"> + <iframe src="https://www.youtube-nocookie.com/embed/netZ0TogNcA" frameborder="0" allowfullscreen> </iframe> +</figure> + ## Configure a remote event collector On GitLab.com events are sent to a collector configured by GitLab. By default, self-managed instances do not have a collector configured and do not collect data with Snowplow. @@ -72,8 +81,8 @@ You can configure your self-managed GitLab instance to use a custom Snowplow col <div class="video-fallback"> Watch the demo video about the <a href="https://www.youtube.com/watch?v=R7vT-VEzZOI">Internal Events Tracking Monitor</a> </div> -<figure class="video_container"> - <iframe src="https://www.youtube-nocookie.com/embed/R7vT-VEzZOI" frameborder="0" allowfullscreen="true"> </iframe> +<figure class="video-container"> + <iframe src="https://www.youtube-nocookie.com/embed/R7vT-VEzZOI" frameborder="0" allowfullscreen> </iframe> </figure> To understand how events are triggered and metrics are updated while you use the Rails app locally or `rails console`, diff --git a/doc/development/internal_analytics/internal_event_instrumentation/quick_start.md b/doc/development/internal_analytics/internal_event_instrumentation/quick_start.md index ae33eeb49f4..c70f7debe41 100644 --- a/doc/development/internal_analytics/internal_event_instrumentation/quick_start.md +++ b/doc/development/internal_analytics/internal_event_instrumentation/quick_start.md @@ -31,6 +31,13 @@ Triggering an event and thereby updating a metric is slightly different on backe ### Backend tracking +<div class="video-fallback"> + Watch the video about <a href="https://www.youtube.com/watch?v=Teid7o_2Mmg">Backend instrumentation using Internal Events</a> +</div> +<figure class="video-container"> + <iframe src="https://www.youtube-nocookie.com/embed/Teid7o_2Mmg" frameborder="0" allowfullscreen> </iframe> +</figure> + To trigger an event, call the `Gitlab::InternalEvents.track_event` method with the desired arguments: ```ruby |