Instrument and provision API v1 observability - #3850
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3850 +/- ##
===========================================
+ Coverage 46.37% 87.65% +41.28%
===========================================
Files 178 197 +19
Lines 10421 11952 +1531
Branches 1759 2092 +333
===========================================
+ Hits 4833 10477 +5644
+ Misses 5199 901 -4298
- Partials 389 574 +185 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
This PR now documents its rollout dependencies explicitly:
The schema changes currently present in this branch overlap with #3852. After #3852 merges, this branch should be updated from |
8c8caa0 to
362a157
Compare
|
Rebased onto |
|
Commit
Deployment order: database precursor #3852, simulation API #686, then this PR. Rollback order is the reverse for the two application PRs. |
|
Implemented the latest review fixes in
Verification:
|
|
Implemented the follow-up identifier durability fix in
Focused verification:
I stopped the broader API test run at the user's request and did not use it as verification for this update. |
Fixes #3847
Summary
policyengine-observabilityruntime for Flask and ASGI request handlingrequest_idto every HTTP request while assigningobservability_idonly to accepted household calculations and society reportsX-PolicyEngine-Observability-Idas a candidate, then bind it only when a calculation startssubmission_claim_idas separate cache-ownership metadataobservability_idacross asynchronous boundaries and retain separate bounded metric labelsDeployment dependencies
observability_idmigration must be applied.Verification
policyengine-observability3.0.1 package.masterbranch.The Household API and UK Chat are outside this change.