Skip to content
代码片段 群组 项目
未验证 提交 9422f2f3 编辑于 作者: Sacha Guyon's avatar Sacha Guyon 提交者: GitLab
浏览文件

Apply 2 suggestion(s) to 1 file(s)


Co-authored-by: default avatarPhillip Wells <pwells@gitlab.com>
上级 9f525b08
No related branches found
No related tags found
1 合并请求!2419Fix TanukiBot spec relying on outdated code
...@@ -72,6 +72,22 @@ To enable error tracking with GitLab as the backend: ...@@ -72,6 +72,22 @@ To enable error tracking with GitLab as the backend:
1. Copy the Data Source Name (DSN) string. You need it for configuring your SDK implementation. 1. Copy the Data Source Name (DSN) string. You need it for configuring your SDK implementation.
### Configure user tracking
To track the number of users impacted by an error:
- In the instrumentation code, ensure each user is uniquely identified.
You can use a user ID, name, email address, or IP address to identify a user.
For example, if you use [Python](https://docs.sentry.io/platforms/python/enriching-events/identify-user/), you can identify a user by email:
```python
Sentry.setUser({ email: "john.doe@example.com" });
```
For more information about user identification, see the [Sentry documentation](https://docs.sentry.io/).
## Error tracking list ## Error tracking list
After your application has emitted errors to the Error Tracking API through the Sentry SDK, After your application has emitted errors to the Error Tracking API through the Sentry SDK,
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册