Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat(dashboard): read-only API token for metrics and session export

Aperta
#326 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

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

enhancement java
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 DashboardResource endpoints (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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di devops-thiago/ThrillhouseBot

Tutte le issue di devops-thiago/ThrillhouseBot

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.