pgtask-otel 0.2.0

OpenTelemetry conventions and propagation for pgtask
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# pgtask-otel

OpenTelemetry for `pgtask`: span names and attributes, queue and worker metrics, and trace context carried
inside task headers.

Because the context travels with the task, a worker span is a child of the request that enqueued it, even
though the two ran in different processes minutes apart. Without that, a queue is where your traces end.

You probably want [`pgtask`](https://crates.io/crates/pgtask), which re-exports this as `pgtask::otel`.

## Documentation

[kludex.github.io/pgtask](https://kludex.github.io/pgtask/)