Skip to content

Disallow integrated error tracking by default

Sean Arnold requested to merge disable-error-tracking-by-default into master

What does this MR do and why?

This introduces a FF to hide the Integrated Error Tracking functionality. It is disabled by default (integrated error tracking is not available). This is part of #353639 (closed).

The flag does a few things when disabled:

  • Hides the UI to add an integrated GitLab error tracking token
  • Returns a 404 error in the Error Tracking Collector APIs used by the integrated error tracking
  • Returns "integrated": false in the Error Tracking settings API.

Screenshots or screen recordings

FF disabled (w/ banner for users who had enabled integrated) FF enabled
Screen_Shot_2022-03-02_at_10.48.51_PM Screen_Shot_2022-02-28_at_3.40.20_PM
Error tracking list, FF disabled (w/ banner for users who had enabled integrated)
Screen_Shot_2022-03-02_at_10.57.36_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

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 Sean Arnold

Merge request reports