Monitoring: application telemetry in production (OpenTelemetry)
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 12/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- apache, grafana, prometheus, python
- 領域
- devops, observability
調査の方向性
This is a design issue, not a starter task: the checklist asks for decisions on overhead, trace contents, packaging and the collector setup before code. Read the context in #2716 and the dev prototype in #2484, then look at oeplatform/wsgi.py and podman/monitoring/, the places the issue names for the SDK setup and the new units. Done means the open items are answered in the thread, with overhead measured on a request path.
索引モデルが issue の本文から書いたものです。
説明
Part of #2412. A later phase; not needed for the first monitoring version (#2716).
Why
#2716 watches the platform from outside: probes, host, containers, database, usage counts from the access log. It cannot say why a request is slow (which view, which queries). That needs telemetry from inside the application: traces and request metrics.
What is known
opentelemetry-instrumentcannot instrument production. The production container runs Apache + mod_wsgi; the Python processes are mod_wsgi daemon processes, so a wrapper has nothing to start. The SDK must be set up inoeplatform/wsgi.py, once per daemon process.- The dev-side prototype is #2484, reduced to a development tool (see #2663). This issue is the production half.
- The data path already exists: an OpenTelemetry Collector as another Quadlet unit beside
podman/monitoring/, request metrics into the existing Prometheus, traces into Jaeger v2 or Grafana Tempo.
To decide and do
- Overhead measured on the request path before anything reaches production (it runs on every request).
- What a trace may contain: URL query strings can carry tokens and must be scrubbed; no user names.
- Packages pinned in
requirements-telemetry.txt; whether the production image installs them, or a build argument switches them on. - Collector and trace store as
oep-mon-*units, localhost-only like the rest. - Relation to the planned slow-request log (one structured line per slow request): traces may replace it, or it comes first because it is cheaper.
- 主要言語
- Python
- スター
- 65
- フォーク
- 28
- 平均マージ
- 4日 7時間
- マージ済み PR(30日)
- 25
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenEnergyPlatform/oeplatform のほかの issue
-
API bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OpenEnergyPlatform/oeplatform#2580 ·
メンテナーはふだん 3 日以内に返信
-
Redesign the database page to support dataset creation対応中かも @bmlancien が 4 日前に担当しました。 オープンdata-upload
OpenEnergyPlatform/oeplatform#2762 · コメント 1 件 · 担当者 3 名 ·
メンテナーはふだん 3 日以内に返信
-
Improve navigation links in Core Features and Integrated Workflows対応中かも @tomi-rli が 19 日前に担当しました。 オープンHomepage
OpenEnergyPlatform/oeplatform#2746 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
-
Enhance the new OEP homepage対応中かも @jh-RLI が 19 日前に担当しました。 オープンHomepage
OpenEnergyPlatform/oeplatform#2745 · 担当者 2 名 ·
メンテナーはふだん 3 日以内に返信
-
Display child nodes in the OEO Viewer Graph View対応中かも @jh-RLI が 23 日前に担当しました。 オープンoeo viewer
OpenEnergyPlatform/oeplatform#2739 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
OpenEnergyPlatform/oeplatform の issue をすべて見る
似ている issue
-
needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
flashinfer-ai/flashinfer#9803 ·
メンテナーはふだん 1 日以内に返信
-
bug frontend good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
oscarbol09/thesisforge#61 ·
-
api bug performance
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
oscarbol09/audiobard#159 ·
-
area:web p2 product:business triage:active type:bug
難易度 1/5 1時間未満 初心者へのやさしさ 89/100
cuadrao-ai/argus#2328 ·
メンテナーはふだん 1 日以内に返信
-
bug frontend good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
nikhilb2/simple_invoicing#907 ·