1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-16 14:27:01 +00:00

Add tracing annotations

This patch changes several internal packages to receive and pass tracing
annotations, making use of the new tracing library, so we can have
better debugging information.
This commit is contained in:
Alberto Bertogli
2022-03-07 01:43:58 +00:00
parent 9c6661eca2
commit 4a00a83c23
15 changed files with 151 additions and 80 deletions

View File

@@ -12,8 +12,8 @@ and debugging tools should appear.
These include:
- Command-line flags.
- [Traces](https://godoc.org/golang.org/x/net/trace) of both short and long
lived requests (sampled).
- [Traces](https://pkg.go.dev/blitiri.com.ar/go/chasquid/internal/trace) of
both short and long lived requests.
- State of the queue.
- State of goroutines.
- [Exported variables](#variables) for whitebox monitoring.