feat(dashboard): per-repo and per-org cost budgets with spend alerts

Abierto
#41 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
java

Línea de trabajo

Start by reading the existing cost persistence and analytics paths and the dashboard entry points; the issue does not name specific files or tests. Map how costs are stored and shown before scoping monthly budgets per repository and organization, configurable spend thresholds, and an in-UI alert. Done when both budget scopes and threshold alerts work in the dashboard; webhook or email alerts are optional.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement java javascript
Problem Statement

The cost/token dashboard is a distinctive feature, but it is reporting-only. Self-hosters who pay their own API bills have no way to set a budget or get alerted when spend approaches it.

Proposed Solution

Add per-repo and per-org monthly cost budgets in the dashboard, with a visual indicator and an alert (in-UI, and optionally webhook/email) when spend crosses configurable thresholds. Builds on the existing cost persistence and analytics.

Alternatives Considered
  • External monitoring on the OTel cost counter — possible, but a built-in budget view fits the dashboard.
Priority

Important

Code of Conduct
  • I have searched for existing issues and this is not a duplicate.
Lenguaje dominante
Java
Estrellas
35
Forks
7
Merge medio
7 h 31 min
PR fusionados (30 d)
193

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de devops-thiago/ThrillhouseBot

Todos los issues de devops-thiago/ThrillhouseBot

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.