[FFL-1720] Evaluation Logging: Event Schema & Data Models#3144
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
🎯 Code Coverage 🔗 Commit SHA: b85617d | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## typo/flags-evaluations-subfeature #3144 +/- ##
=====================================================================
- Coverage 70.89% 70.81% -0.08%
=====================================================================
Files 901 901
Lines 33175 33175
Branches 5596 5596
=====================================================================
- Hits 23518 23492 -26
- Misses 8102 8111 +9
- Partials 1555 1572 +17 🚀 New features to boost your workflow:
|
dd-oleksii
left a comment
There was a problem hiding this comment.
🙈
- Comprehensive tests: JSON serialization/deserialization validation
- Public API surface: Updates to expose the new event model
features/dd-sdk-android-flags/src/main/json/flags/batched-flag-evaluations-schema.json
Show resolved
Hide resolved
leoromanovsky
left a comment
There was a problem hiding this comment.
verified schema matches backend
c924067 to
a031b97
Compare
ddeaaa3 to
75827d0
Compare
The base branch was changed.
1c0c827 to
00b8f55
Compare
00b8f55 to
7dba2fe
Compare
features/dd-sdk-android-flags/src/main/json/flags/batched-flag-evaluations-schema.json
Show resolved
Hide resolved
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
4618637
into
feature/flags-evaluations-logging

📚 Evaluation Logging Stacked Pull Requests 📚
🔲 Integration & Configuration (PR #3147)
🔲 Storage & Network Infrastructure (PR #3146)
🔲 Aggregation Engine & Test Utilities (PR #3145)
👉 Event Schema & Data Models (PR #3144)
☑️ Evaluations Subfeature (PR #3159)
⎿
typo/FFL-1720-android-kotlin-sdk-emits(feature branch)Datadog Internal
🎟️ Ticket: FFL-1720 - Implement Evaluation Logging for Android SDK
What does this PR do?
Introduces the
BatchedEvaluationEventdata model and JSON schema for aggregated feature flag evaluation events. This establishes the contract for evaluation logging that will be sent to Datadog's/api/v2/flagevaluationsintake endpoint.Motivation
We need to implement Evaluation Logging to provide comprehensive visibility into all feature flag evaluations, including defaults, errors, and successful matches. This goes beyond exposure logging by capturing aggregated metrics about evaluation frequency, error rates, and runtime default usage across all flags.
Description
This PR adds:
batched-evaluation-event-schema.json: JSON schema defining the structure of aggregated evaluation eventsBatchedEvaluationEventmodel: Generated Kotlin data class with nested types (Identifier, Context, Error, etc.)The schema follows the Evaluation Logging specification requirements for event structure, field naming, optional field handling, and timestamp conventions.
Additional Notes
Review checklist (to be filled by reviewers)