0
Support non-boolean feature flag values
Source: getsentry/sentry#132465 · opened by @sentry-junior[bot]
Feature flag context and the feature flags UI only handle boolean evaluation results. Many providers evaluate flags to strings, numbers, or JSON (variants, experiment groups, remote config), and SDKs can't send those values to Sentry today. • The [event payload contexts spec]( defines the flag result as boolean. The [SDK feature flags spec]( says add_feature_flag accepts string, boolean, integer, float, and structure values. • SDKs follow the payload spec and drop non-boolean values without a warning (getsentry/sentry-javascript#21157, getsentry/sentry-dart#3766). The JS SDK request was closed because the product only supports booleans; the SDK restriction can be lifted once the product handles other types. • The current workaround is sending values as tags or context, which keeps them out of the feature flag UI. Requests for this: • User feedback [JAVASCRIPT-3GHV]( "sdk should enable sending other types that boolean" • getsentry/sentry-…
No pledges yet. Be the first to back this.
Comments
Similar requests
Support archive-until thresholds on custom tags
0 votes · 0 comments
Feature Flag Support for Posthog
2 votes · 0 comments
Make Feature Flags Searchable in Traces View & Transactions view in Discover
0 votes · 0 comments
Expose a way to flag which thread is the thread to be used for grouping
0 votes · 0 comments
Configurable 'send to channel' flag for slack reminders from alerts
0 votes · 0 comments
No comments yet.