You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the Browser SDK transport required by FFL-3067 so Feature Flags lifecycle events can reach the dedicated, non-billable flagtelemetry Event Platform track.
Changes
Send all seven Feature Flags lifecycle event payloads directly to /api/v2/flagtelemetry in every configured Datadog site.
Reuse Browser SDK batching, retry, page-exit delivery, proxy, and client-token support without requiring the RUM or Logs product SDK to start.
Keep lifecycle events unsampled, respect tracking consent, and isolate transport failures from the provider.
Deduplicate lifecycle events once per runtime, errors by fixed error code, and configuration receipt once for each source.
Keep configuration versions optional so SDKs with a real configuration version can report one.
Omit invalid JavaScript configuration timestamps before serialization.
Extend the shared endpoint builder with the flagtelemetry track. The OpenFeature provider explicitly starts this transport when its debugMode is enabled. Implementation was Codex-assisted.
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.
I have read the CLA Document and I hereby sign the CLA
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Add the Browser SDK transport required by FFL-3067 so Feature Flags lifecycle events can reach the dedicated, non-billable
flagtelemetryEvent Platform track.Changes
/api/v2/flagtelemetryin every configured Datadog site.flagtelemetrytrack. The OpenFeature provider explicitly starts this transport when itsdebugModeis enabled. Implementation was Codex-assisted.Test instructions
yarn test:unit --single-run --browsers ChromeHeadlessyarn typecheckyarn api:checkyarn formatyarn lintyarn buildAll 5,136 Browser SDK unit tests pass locally.
Rollout notes
Related PRs
Checklist