Add Homepage dashboard + dual-export OpenCode traces
Homepage as the front door: single page at framework:7575 with one tile per service, live widgets where the upstream supports it (Ollama loaded models, container state via docker.sock, etc.), bookmarks for reference docs. Config files are pyinfra-managed — source of truth lives in compose/homepage/, sync by editing there and re-running ./run.sh. OpenCode plugin now dual-exports spans to Phoenix and OpenLIT in parallel. Phoenix remains the per-trace waterfall view; OpenLIT picks up the same data for fleet-level metrics. Each destination has its own batch processor so a hiccup at one doesn't block the other. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
19
pyinfra/framework/compose/homepage/widgets.yaml
Normal file
19
pyinfra/framework/compose/homepage/widgets.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
# Top-of-page widgets. https://gethomepage.dev/widgets/info/
|
||||
|
||||
- search:
|
||||
provider: custom
|
||||
url: https://searxng.n0n.io/search?q=
|
||||
target: _blank
|
||||
focus: true
|
||||
|
||||
- resources:
|
||||
label: framework
|
||||
cpu: true
|
||||
memory: true
|
||||
disk: /
|
||||
|
||||
- datetime:
|
||||
text_size: xl
|
||||
format:
|
||||
timeStyle: short
|
||||
dateStyle: medium
|
||||
Reference in New Issue
Block a user