Skip to content

Conversation

@shashjar
Copy link
Member

Follow-up to #103566.

The previous logic did not correctly serialize the trace item when making a POST request to the "/tests/entities/eap_items/insert_bytes" endpoint. With this updated logic we should see successful EAP inserts (example below).

Querying via docker exec -it snuba-clickhouse-1 clickhouse-client --query "SELECT item_id, project_id, organization_id, trace_id, item_type, timestamp FROM eap_items_1_local ORDER BY timestamp DESC LIMIT 5 FORMAT Pretty".

Before ingesting new event:
image

After ingesting new event:
image

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 21, 2025
@shashjar shashjar marked this pull request as ready for review November 21, 2025 21:28
@shashjar shashjar requested a review from a team as a code owner November 21, 2025 21:28
Copy link
Contributor

@thetruecpaul thetruecpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good — thanks for the fix!

@shashjar shashjar merged commit 0a8a804 into master Nov 21, 2025
67 checks passed
@shashjar shashjar deleted the fix-eap-trace-item-inserts-via-snuba-http-backend branch November 21, 2025 23:14
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.

3 participants