snuba icon indicating copy to clipboard operation
snuba copied to clipboard

feat(eap): Allow arrays to be queried from EAP

Open phacops opened this issue 2 months ago • 1 comments

This will allow us to return array values stored in attributes_array when fetching a trace. Support to return arrays with containing different types were added to sentry-protos (https://github.com/getsentry/sentry-protos/pull/153).

One caveat right now is clickhouse-driver doesn't support the JSON or Variant column types. The workaround for this right now is to encode as JSON and send the value back to Snuba as a string.

There is a PR opened which adds support but there's not a lot of activity. Perhaps we should fork clickhouse-driver and add support for the JSON type for a mid term solution, then upsrtream the result.

phacops avatar Nov 24 '25 21:11 phacops

Sentry needed to have some compatibility work done: https://github.com/getsentry/sentry/pull/104063

phacops avatar Nov 27 '25 00:11 phacops