Use feature flag variant key instead of value for RUM Feature Flag Tracking#3216
Use feature flag variant key instead of value for RUM Feature Flag Tracking#3216petzel wants to merge 1 commit into
key instead of value for RUM Feature Flag Tracking#3216Conversation
| trackResolution(flagKey, flag, flagValue, context) | ||
| } | ||
|
|
||
| private fun parseFlagValueString(flagKey: String, flag: UnparsedFlag): Any { |
acb7d7a to
9a343eb
Compare
|
/merge |
|
View all feedbacks in Devflow UI.
This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
devflow unqueued this merge request: It did not become mergeable within the expected time |
9a343eb to
428829b
Compare
|
Closing as #3245 is merged. |
What does this PR do?
This PR updates how we Datadog Feature Flags are tracked in RUM, using a variant's
keyrather than the variant'svalue.Motivation
Previously, when using Datadog Feature Flags, the
valuewould be set as the evaluated variant. This is not ideal, particularly when using JSON type flags. JSON flags can be very large, and are not friendly from a UX perspective when typing filters/viewing results. Each variant in a Datadog Feature Flag contains akey, which is a string with a maximum length of 64 characters. Thiskeyis better suited for tracking feature flags in RUM.Review checklist (to be filled by reviewers)