Commit ac0e79ed authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'dz-error-tracking-dsn-ui-docs' into 'master'

Update error tracking docs with more UI

See merge request gitlab-org/gitlab!70803
parents d46e8778 a90e8306
...@@ -73,7 +73,7 @@ Example response: ...@@ -73,7 +73,7 @@ Example response:
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68384) in GitLab 14.3. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68384) in GitLab 14.3.
For [integrated error tracking](https://gitlab.com/gitlab-org/gitlab/-/issues/329596) feature that is behind a disabled feature flag. Only for project maintainers. For [integrated error tracking](https://gitlab.com/gitlab-org/gitlab/-/issues/329596) feature. Only for project maintainers.
### List project client keys ### List project client keys
......
...@@ -134,13 +134,9 @@ You must use the GitLab API to enable it. ...@@ -134,13 +134,9 @@ You must use the GitLab API to enable it.
![Error Tracking Settings](img/error_tracking_setting_v14_3.png) ![Error Tracking Settings](img/error_tracking_setting_v14_3.png)
1. Create a client key (DSN) to use with Sentry SDK in your application. Make sure to save the 1. Select **Save changes**. After page reload you should see a text field with the DSN string. Copy it.
response, as it contains a DSN:
```shell ![Error Tracking Settings DSN](img/error_tracking_setting_dsn_v14_4.png)
curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" \
"https://gitlab.example.com/api/v4/projects/PROJECT_ID/error_tracking/client_keys"
```
1. Take the DSN from the previous step and configure your Sentry SDK with it. Errors are now 1. Take the DSN from the previous step and configure your Sentry SDK with it. Errors are now
reported to the GitLab collector and are visible in the [GitLab UI](#error-tracking-list). reported to the GitLab collector and are visible in the [GitLab UI](#error-tracking-list).
......
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