Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/backend/feature-telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ After:
PUT api/v{version}/users/{id}/role
└─ UpdateUserRole.Command 430ms app.caller.kind=user app.caller.tenant_id=ten_01J...
app.user_id=usr_01J... app.user.role=Admin
├─ SQL: users.update_role.load 412ms code.file.path=.../UpdateUserRole.cs code.line.number=34
├─ SQL: users.update_role.load 412ms code.file.path=.../UpdateUserRole.cs code.line.number=39
└─ SQL: <the save> 8ms
Log: Changed the role of user usr_01J... to Admin CallSite=UpdateUserRole.cs:Handle@71 CallerTenantId=ten_01J...
Log: Changed the role of user usr_01J... to Admin CallSite=UpdateUserRole.cs:Handle@79 CallerTenantId=ten_01J...
```

## The support questions
Expand Down
4 changes: 2 additions & 2 deletions docs/telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ For example, the exemplar of a 430 ms `UpdateUserRole.Command` gives this trace:
```
PUT api/v{version}/users/{id}/role
└─ UpdateUserRole.Command 430ms app.caller.tenant_id=ten_01J... app.user_id=usr_01J...
├─ SQL: users.update_role.load 412ms code.file.path=.../UpdateUserRole.cs code.line.number=32
├─ SQL: users.update_role.load 412ms code.file.path=.../UpdateUserRole.cs code.line.number=39
└─ SQL: <the save> 8ms
```

The request was slow because of the `users.update_role.load` query at `UpdateUserRole.cs` line 32, for user `usr_01J...`.
The request was slow because of the `users.update_role.load` query at `UpdateUserRole.cs` line 39, for user `usr_01J...`.

### Read slow requests as an agent

Expand Down
Loading