Skip to content

Use Error Tracking Settings and create auth token

Gabriel Mazetto requested to merge brodock/use-error-tracking-settings into master

What does this MR do and why?

  • Switches from ERROR_TRACKING_API_URL to use the one defined in application_settings
  • Add error tracking auth token
  • Use the new token to authenticate error tracking specific API requests

Part of #366383 (closed)

Screenshots or screen recordings

imagem

How to set up and validate locally

Enable the feature flag gitlab_error_tracking and use_click_house_database_for_error_tracking:

Feature.enable(:gitlab_error_tracking)
Feature.enable(:use_click_house_database_for_error_tracking, project)
  1. Go to /admin page
  2. Find GitLab Error Tracking in "General"
  3. Enable the boolean and set the URL
  4. Save settings

You can also retrieve the access token and re-generate a new one by pressing the red button

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Gabriel Mazetto

Merge request reports