Skip to content
Merged
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
13 changes: 12 additions & 1 deletion ts/docs/architecture/telemetry/local-telemetry-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,18 @@ stack, and enables local telemetry in `config.local.yaml`.

If the command changes `telemetry.local`, restart TypeAgent once so it picks
up the configuration. Send a request, then open
[Grafana](http://127.0.0.1:24319) to inspect traces and logs.
[Grafana](http://127.0.0.1:24319) to inspect traces and logs via Explore > Tempo.
Traces are available in the response metadata of every request (printed by default in the CLI and on-hover for other experiences).

In TypeAgent, run:

```
@trace typeagent*
@log profile diagnostic
```

The @trace typeagent\* command enables all debug logs in the typeagent namespace.
The @log profile diagnostic command enables all structured + debug logs to be captured locally.

For setup details, queries, cleanup, and troubleshooting, continue below.

Expand Down
Loading