Monitoring: application telemetry in production (OpenTelemetry)
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- apache, grafana, prometheus, python
- Ambito
- devops, observability
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 65
- Fork
- 28
- Merge medio
- 4g 7h
- PR unite (30g)
- 25
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenEnergyPlatform/oeplatform
-
API bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenEnergyPlatform/oeplatform#2580 ·
I maintainer di solito rispondono entro 3 giorni
-
Redesign the database page to support dataset creationForse già presa @bmlancien l’ha presa 4 giorni fa. Apertadata-upload
OpenEnergyPlatform/oeplatform#2762 · 1 commento · 3 assegnatari ·
I maintainer di solito rispondono entro 3 giorni
-
Improve navigation links in Core Features and Integrated WorkflowsForse già presa @tomi-rli l’ha presa 19 giorni fa. ApertaHomepage
OpenEnergyPlatform/oeplatform#2746 · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
-
Enhance the new OEP homepageForse già presa @jh-RLI l’ha presa 19 giorni fa. ApertaHomepage
OpenEnergyPlatform/oeplatform#2745 · 2 assegnatari ·
I maintainer di solito rispondono entro 3 giorni
-
Display child nodes in the OEO Viewer Graph ViewForse già presa @jh-RLI l’ha presa 23 giorni fa. Apertaoeo viewer
OpenEnergyPlatform/oeplatform#2739 · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di OpenEnergyPlatform/oeplatform
Issue simili
-
needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
flashinfer-ai/flashinfer#9803 ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
oscarbol09/thesisforge#61 ·
-
api bug performance
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
oscarbol09/audiobard#159 ·
-
area:web p2 product:business triage:active type:bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
cuadrao-ai/argus#2328 ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
nikhilb2/simple_invoicing#907 ·