Skip to content

chore(tests): replace store_trace_metrics with store_eap_items#110141

Open
wedamija wants to merge 1 commit intomasterfrom
danf/consolidate-store-trace-metrics
Open

chore(tests): replace store_trace_metrics with store_eap_items#110141
wedamija wants to merge 1 commit intomasterfrom
danf/consolidate-store-trace-metrics

Conversation

@wedamija
Copy link
Member

@wedamija wedamija commented Mar 6, 2026

store_trace_metrics is functionally identical to store_eap_items — both serialize protobuf TraceItems and POST them to the EAP items insert endpoint. The only difference was the multipart file key prefix (e.g. "trace_metric_0" vs "eap_items_0"), which Snuba ignores.

Consolidating to a single helper reduces duplication in test utilities.

@wedamija wedamija requested a review from a team March 6, 2026 19:22
@wedamija wedamija requested review from a team as code owners March 6, 2026 19:22
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 6, 2026
store_trace_metrics is functionally identical to store_eap_items —
both serialize protobuf TraceItems and POST them to the EAP items
insert endpoint. The only difference was the multipart file key prefix
(e.g. "trace_metric_0" vs "eap_items_0"), which Snuba ignores.

Consolidating to a single helper reduces duplication in test utilities.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants