getsentry / getsentry/sentry-go

refactor tracing to snapshot state at processor enqueue boundary

Open
#1,287 1 comment 0 reactions 0 assignees View on GitHub
Go Improvement Spans
Dominant language
Go
Stars
1.1k
Forks
262
Avg merge
1d 48m
Merged PRs (30d)
7

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.