docs(rivetkit): add actor tracing docs - #5734
Conversation
Code ReviewThis is a docs-only PR (tracing documentation, sidebar entry, and small CLAUDE.md/testing.md reference bullets). Most of the new content checks out accurately against the actual implementation — span names, span kinds, attribute names, ray-ID validation rules, and NAPI telemetry sink wiring all matched the code in 1. Sampling env vars are documented but not honored by the native exporterFile: The docs state that 2. Ray-ID diagram caption text is mispositionedFile: In the inline SVG diagram, the two caption Generated by Claude Code review. |
a550f80 to
e34c47e
Compare
5d35d78 to
6c2a881
Compare
6c2a881 to
d18e8f9
Compare
e34c47e to
0f3841f
Compare
0f3841f to
c2a3397
Compare
d18e8f9 to
45ae99c
Compare
c2a3397 to
e10de14
Compare
4976b3e to
5aa5975
Compare
e10de14 to
5fd3076
Compare
5aa5975 to
67deba1
Compare
2c70404 to
a78f5c5
Compare
67deba1 to
63b46d5
Compare
a78f5c5 to
8443f5d
Compare
50b6370 to
abe4606
Compare
39bc2f6 to
403bbe7
Compare
abe4606 to
261c750
Compare
403bbe7 to
a249107
Compare
261c750 to
53f1337
Compare
a249107 to
86c5005
Compare
53f1337 to
061c0ec
Compare
061c0ec to
a182e43
Compare
86c5005 to
80a413c
Compare
this stack is a bit chonky to review so I've scoped down a lot of things.
a rundown of what i'm shipping with this otel stack:
not within this stack
and regarding this pr, i'm hosting the docs here (@NathanFlurry made a lot of changes as per our last call). lmk if you're picky about anything and want more things changed.
https://docs-otel-e2e.eers.dev/actors/docs/general/tracing/
diagrams added

notes for @MasterPtato or anyone puling this to staging.
tracing is feature flagged with the traces endpoint env var. if that's not set, it's disabled.
you can technically read the "Quickstart" within the docs and should be able to configure it within the cloud. if anything is unclear in that, lmk, I'll fix things up.
and also this #5729 bumps the internal schema version from 1 to 2 to store ray ID and tracecontext to the schedules and queues table.