Conversation
anth-volk
force-pushed
the
feat/collector-metric-delivery
branch
from
September 30, 2026 19:53
6706cd6 to
0df4afd
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/policyengine-6-1-2-api #3861 +/- ##
============================================================
Coverage 87.68% 87.68%
============================================================
Files 198 198
Lines 12010 12010
Branches 2106 2106
============================================================
Hits 10531 10531
Misses 901 901
Partials 578 578 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
anth-volk
force-pushed
the
feat/collector-metric-delivery
branch
from
October 1, 2026 12:21
d07edfe to
f7356a5
Compare
This branch had an error being deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #3860
Summary
Prevent the metric export failures observed in the API v1 stack and add a maintained deployment workflow for the central OpenTelemetry Collector.
The reviewed production interval contained 46 metric export errors and 863 rejected points. Missing Google Monitoring locations accounted for 211 points. Shared metric resource identities accounted for the remaining 652 out-of-order, duplicate, or too-frequent points.
Changes
location=us-central1to the collector's metrics pipeline without changing trace regions.service.instance.id.Google Cloud configuration
policyengine-observability.collectorDeploymentIamrole grants onlyrun.services.getIamPolicyandrun.services.setIamPolicy, and is bound only on the collector service.collectorDeploymentVerifierproject role grants onlycloudtrace.traces.get,monitoring.timeSeries.list, andresourcemanager.projects.get.observabilityrepository.roles/telemetry.writerandroles/serviceusage.serviceUsageConsumer.Testing
12 passedacross collector configuration, ingestion-verifier, and API observability-runtime tests after rebasing onto Update API v1 to PolicyEngine.py 6.2.1 #3855.bash -n.policyengine-api-v1-otel-collector-stagingas revisionpolicyengine-api-v1-otel-collector-staging-00001-5dt; the production collector revision and image remained unchanged.Dependency and rollout
PolicyEngine/policyengine-observability#34 published
policyengine-observability3.0.2. This branch now locks that release.This PR is stacked on #3855 and inherits its
policyengine[models]==6.2.1dependency and lockfile. Merge #3855 first, then retarget this PR tomasterbefore merging it.Merging this PR automatically runs the collector deployment because the merge changes collector deployment files. Later pushes to
masterdeploy the collector only when its image, configuration, deployment scripts, verifier, or workflow changes. Manual dispatch remains available for an intentional redeployment.After the API and simulation consumers deploy, run one society report and confirm that no new collector metric export errors match the four recorded rejection causes.