agent-lightning icon indicating copy to clipboard operation
agent-lightning copied to clipboard

add weave tracer

Open acured opened this issue 2 months ago • 1 comments

acured avatar Nov 05 '25 08:11 acured

Generally I don't think it's necessary to support non-OTLP path for advanced tracers. You can first check whether the store has OTLP capability within init_worker(), which is added in a PR merged yesterday. If the store has such capability, you can use initialize the tracer so that it writes to the store.

You can inject the rollout_id and attempt_id if you have control over get_tracer(), or you can use the augmented OTLP exporter to modify the traces when export.

ultmaster avatar Nov 20 '25 10:11 ultmaster