feat(dashboard): read-only API token for metrics and session export
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- java
- Ambito
- authentication, backend, observability
Direzione di ricerca
Start by reading docs/ARCHITECTURE.md and the DashboardResource endpoints; the payload does not name specific source or test files. Map the existing dashboard authentication and session storage before choosing where token creation, revocation, and read-only access belong. Done means owner-managed token CRUD, documented read-only endpoints, and tests covering successful and failed authentication.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem Statement
Dashboard access requires GitHub OAuth — no programmatic token for SIEM, internal tooling, or CI export of cost/session metrics. Platform teams expect a scrape-friendly or API-key surface alongside #44 Prometheus metrics.
Proposed Solution
Issue read-only API tokens (hashed server-side, rotatable):
- Scope: list sessions, cost aggregates, health — no write/review trigger
- Auth header on selected
DashboardResourceendpoints (or parallel/api/v1/namespace) - Admin creation via dashboard UI or env bootstrap for single-tenant self-host
- Document threat model (token theft = read metrics/history, not code)
Related issues
- #44 — Prometheus metrics endpoint (complementary; some teams want both)
- #23 — OAuth session persistence (multi-replica; tokens may need shared store post-1.0)
- #317 — MCP server (may reuse token auth model)
Acceptance criteria
- Token CRUD (create/revoke) for app owner
- Read-only endpoints documented in
docs/ARCHITECTURE.md - Rate limiting considered (tie to #25 GitHub rate limits pattern if needed)
- Tests for auth success/failure
Priority
Important — v0.5.0 observability/adoption for ops teams.
Code of Conduct
- I have searched for existing issues and this is not a duplicate.
- Lingua principale
- Java
- Stelle
- 35
- Fork
- 7
- Merge medio
- 7h 7m
- PR unite (30g)
- 220
Preparare l'ambiente
- Include un Dockerfile o un 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 devops-thiago/ThrillhouseBot
-
documentation enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
devops-thiago/ThrillhouseBot#321 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement java
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
devops-thiago/ThrillhouseBot#1271 ·
I maintainer di solito rispondono entro 1 giorno
-
refactor(review): identify the bot's own read-back text by marker, not English wordingForse già presa @devops-thiago l’ha presa 2 giorni fa. Apertaenhancement java rework
devops-thiago/ThrillhouseBot#1260 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(webhook): translate command replies, learning replies and on-request generator textForse già presa @devops-thiago l’ha presa 2 giorni fa. Apertaenhancement java
devops-thiago/ThrillhouseBot#1259 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(review): translate the review body, check-run summary and round lead-insForse già presa @devops-thiago l’ha presa 2 giorni fa. Apertaenhancement java
devops-thiago/ThrillhouseBot#1258 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di devops-thiago/ThrillhouseBot
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
geonetwork/core-geonetwork#9592 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug] ServerHttpRequest.getURI() throws NumberFormatException when Host contains an explicit portApertacomponent/need-triage type/need-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
apache/rocketmq-dashboard#7361 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
higress-group/himarket#358 ·