FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests