Skip to content

Instrument and provision API v1 observability - #3850

Draft
anth-volk wants to merge 18 commits into
masterfrom
feat/centralize-api-v1-observability
Draft

anth-volk wants to merge 18 commits into
masterfrom
feat/centralize-api-v1-observability

Require observability 3.0.1

2219970
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 28, 2026 in 1s

87.50% (+41.12%) compared to aac95d3

View this Pull Request on Codecov

87.50% (+41.12%) compared to aac95d3

Details

Codecov Report

❌ Patch coverage is 89.22018% with 47 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.50%. Comparing base (aac95d3) to head (2219970).

Files with missing lines Patch % Lines
policyengine_api/services/budget_window_cache.py 66.66% 18 Missing and 14 partials ⚠️
policyengine_api/asgi_factory.py 91.42% 2 Missing and 4 partials ⚠️
policyengine_api/services/economy_service.py 95.65% 1 Missing and 2 partials ⚠️
policyengine_api/observability/identifiers.py 84.61% 2 Missing ⚠️
policyengine_api/observability/runtime.py 90.47% 2 Missing ⚠️
policyengine_api/asgi.py 50.00% 1 Missing ⚠️
policyengine_api/gcp_logging.py 92.85% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3850       +/-   ##
===========================================
+ Coverage   46.37%   87.50%   +41.12%     
===========================================
  Files         178      197       +19     
  Lines       10421    11806     +1385     
  Branches     1759     2068      +309     
===========================================
+ Hits         4833    10331     +5498     
+ Misses       5199      895     -4304     
- Partials      389      580      +191     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.