Skip to content

[Flags] FlagEvaluation schema#3166

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 4 commits into
feature/flags-evaluations-loggingfrom
typo/flag-eval-schema
Feb 2, 2026
Merged

[Flags] FlagEvaluation schema#3166
gh-worker-dd-mergequeue-cf854d[bot] merged 4 commits into
feature/flags-evaluations-loggingfrom
typo/flag-eval-schema

Conversation

@typotter

@typotter typotter commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

🥞 Evaluation Logging Stacked Pull Requests 🥞

🔲 Integration & Configuration (PR #3147)
🔲 Storage & Network Infrastructure (PR #3146)
🔲 Aggregation Engine & Test Utilities (PR #3145)
👉 FlagEvaluation Schema (this PR)
☑️ Event Schema & Data Models (PR #3144)
☑️ Evaluations Subfeature (PR #3159)
feature/flags-evaluations-logging (feature branch)

Datadog Internal
🎟️ Ticket: FFL-1720 - Implement Evaluation Logging for Android SDK

What does this PR do?

Adds the flag-evaluation-schema.json JSON schema file for individual flag evaluation events. This schema is used for NDJSON format (Content-Type: text/plain) as an alternative to the Batched schema

Motivation

The Batched schema requires a redundant top-level context object to be constructed and included with the FlagEvaluation entries. This requires the raw batch entries to be deserialised, merged with each other and the top level context, then reserialized to be sent over the wire.

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

@typotter
typotter requested a review from a team as a code owner January 30, 2026 16:41
@typotter

typotter commented Feb 2, 2026

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Feb 2, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-02-02 13:05:38 UTC ℹ️ Start processing command /merge


2026-02-02 13:05:42 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in feature/flags-evaluations-logging is approximately 55m (p90).


2026-02-02 14:04:48 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit 986afe7 into feature/flags-evaluations-logging Feb 2, 2026
27 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the typo/flag-eval-schema branch February 2, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants