Migrate API v1 simulation services to centralized observability
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- google-cloud, python
調査の方向性
Start by locating the API v1 simulation entry, Modal gateway, executor, and batch workers named in the scope, then inspect their current Logfire and telemetry setup. Review the existing deployment configuration and service-level tests before changing the observability integration. Done means all participating services emit the version 2 schema, preserve allowlisted correlation metadata, contain no Logfire runtime path, and remain unaffected when telemetry fails.
索引モデルが issue の本文から書いたものです。
説明
Summary
Migrate the API v1 simulation entry, Modal gateway, executor, and batch workers to policyengine-observability 2.0 and central Google Cloud telemetry.
Scope
- Replace version 1 global helpers with runtime-bound operations and spans.
- Remove Logfire initialization, secrets, dependencies, and forced OpenTelemetry disablement.
- Carry allowlisted request and trace correlation metadata from entry to gateway to worker.
- Configure explicit service identity, environment, collector endpoint, Google project, and Workload Identity Federation credentials for approved API v1 applications.
- Add service-level failure-isolation tests.
- Keep other PolicyEngine applications outside this change.
Acceptance criteria
- Each participating service emits the version 2 structured log schema.
- Worker operations restore incoming correlation metadata without including simulation inputs or reform payloads.
- No Logfire runtime path remains in these services.
- Failed telemetry setup or export does not change simulation outcomes.
- Relevant formatting, lint, unit, integration, and deployment configuration checks pass.
- 主要言語
- Python
- スター
- 1
- フォーク
- 1
- 平均マージ
- 15時間 10分
- マージ済み PR(30日)
- 12
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PolicyEngine/policyengine-sim-api のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
PolicyEngine/policyengine-sim-api#674 · コメント 3 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PolicyEngine/policyengine-sim-api の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·