Skip to content

Add GitLab DSN to error tracking UI

Dmytro Zaporozhets (DZ) requested to merge dz-error-tracking-dsn-ui into master

What does this MR do and why?

Given error tracking is enabled, and GitLab backend is choosen. User needs a DSN (string) that they can copy-paste into Sentry SDK so integration is working. Before this merge request users can only see DSN from API https://docs.gitlab.com/ee/operations/error_tracking.html#how-to-enable.

This merge request brings DSN to UI in a most simple way.

Issue #329596 (closed)

Screenshots or screen recordings

Before

Screenshot_2021-09-21_at_1.58.31_PM

After

Screenshot_2021-09-21_at_1.58.17_PM

How to set up and validate locally

Just open any project in GDK, select error tracking settings as shown on screenshot and press "Save changes"

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 Dmytro Zaporozhets (DZ)

Merge request reports