snuba icon indicating copy to clipboard operation
snuba copied to clipboard

feat(admin): Implement RPC endpoints for EAP API queries in Snuba Admin

Open nachivrn opened this issue 1 year ago • 1 comments

  • Implement new RPC endpoints in Snuba admin that lets Sentry engineers invoke the EAP API against production data.
  • Add a page in Snuba admin that lets the user run those queries against whitelisted org / project ids

These changes enable authorized users to perform EAP API queries directly through Snuba Admin

Screenshot 2024-10-09 at 3 16 23 PM Screenshot 2024-10-09 at 3 16 16 PM

nachivrn avatar Oct 09 '24 22:10 nachivrn

:x: 1 Tests Failed:

Tests completed Failed Passed Skipped
501 1 500 1
View the top 1 failed tests by shortest run time
tests.admin.test_api test_execute_rpc_endpoint_invalid_payload
Stack Traces | 0.001s run time
No failure message available

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

codecov[bot] avatar Oct 11 '24 05:10 codecov[bot]

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ Missing alias or name for selected expression execute_rpc_endpoint View Issue
  • ‼️ Missing alias or name for selected expression execute_rpc_endpoint View Issue

Did you find this useful? React with a 👍 or 👎

sentry[bot] avatar Oct 16 '24 17:10 sentry[bot]