Skip to content

[Feature] Support TraceID Delivery in Environment Interface for Agent and RL Rollout Log Tracing #35

@JacksonMei

Description

@JacksonMei

Checklist

  • This feature will maintain backward compatibility with the current sdk. If not, please raise a refactor issue first.

Background

This feature request proposes the addition of traceid support to the environment interface. The motivation is to enable delivery of trace IDs throughout the environment lifecycle, which is particularly valuable for advanced RL and agent workflows where tracking and correlating logs between environment, agent, and rollout processes is critical for debugging and reproducibility.

Currently, tracing env logs across rollouts and agents lacks consistent trace IDs for each environment step and action, making correlation difficult. By introducing traceid delivery, developers can streamline cross-referencing between environment actions, agent decisions, and distributed RL rollout monitoring. This feature is relevant for scalable reinforcement learning and multi-agent environments where lifecycle traceability is required.

Potential Solution

xxxx

Additional Information

This will benefit debugging, experiment reproducibility, and monitoring . If the feature introduces breaking changes, consider raising a separate refactor issue for SDK compatibility. The feature can be optionally enabled to maintain backward compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions