Skip to content

refactor tracing to snapshot state at processor enqueue boundary #1287

Description

@giortzisg

This change eliminates the complexity and improves the concurrency model for telemetry, by separating the live state from the serialized payload sent through the telemetry processor.

Instead of keeping pre-serialized data on live telemetry, we should snapshot the state once at enqueue time and use the frozen snapshot for serialization. This eliminates inconsistencies and possible races on concurrent access.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions