Preserve SQLite aggregate counters when fingerprint series admission fails
Los mantenedores suelen responder en 1 día
@Utkarshpandey0001 ya está trabajando en esto.
Desde el 20/9/2026.
- #5758 de @Utkarshpandey0001 — abierto
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- prometheus, rust, sqlite
- Área
- databases, observability
Línea de trabajo
Rastrea primero la admisión de fingerprints del profiling de SQLite, la reserva compartida del presupuesto de series de Prometheus y el fallback other. Añade cobertura para cuando fallen ambas reservas y, después, verifica que los recuentos agregados exactos de operaciones/resultados sigan disponibles, mientras fingerprint_overflow_total siga notificando la pérdida de atribución.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Feifan Zhou found this while operating RivetKit 2.3.15 with native SQLite profiling enabled.
Problem
Fingerprint admission and the other fallback use the same shared Prometheus series budget. If the budget can reserve the base tuple but cannot reserve a statement or transaction tuple, RivetKit increments rivetkit_sqlite_fingerprint_overflow_total{reason="series_budget"}, retries with other, and then drops the full profile when that reservation also fails. The operation/outcome counters are part of the fingerprint tuple, so exact aggregate counts are unavailable precisely when fingerprint attribution is exhausted.
A minimal example is a process with a 1,000-series budget. One actor/transport base tuple reserves 891 series. A statement tuple requires 147 more series, so neither the selected fingerprint nor its other fallback can be admitted. Overflow reports the attribution loss, but aggregate operation/outcome counts are also lost.
Request
Please either:
- pre-reserve
otheraggregation tuples for the expected operation type, fingerprint source, transaction mode, and storage transport combinations; or - provide fingerprint-free aggregate operation/outcome counters that do not depend on fingerprint tuple admission.
Acceptance criteria
- Exact aggregate operation/outcome counts remain available when fingerprint admission fails.
fingerprint_overflow_totalcontinues to report attribution loss.- Tests cover the case where the selected fingerprint reservation and the current fallback reservation both fail.
- Lenguaje dominante
- Rust
- Estrellas
- 6.3k
- Forks
- 280
- Merge medio
- 21 h 17 min
- PR fusionados (30 d)
- 34
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de rivet-dev/rivet
-
effect: action on a missing actor instance fails as internal_error instead of actor.abortedPosiblemente ocupada @kunalgoesbyken la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
rivet-dev/rivet#5891 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Rust client drops connection-level errors when actionId is null (JSON/CBOR)Posiblemente ocupada @DibbayajyotiRoy la tomó hace 24 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
rivet-dev/rivet#5819 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Queue docs say completable messages are removed on receive, but they stay stored until complete()Posiblemente ocupada @Saisharathchandranandnetha la tomó hace 35 días. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 91/100
rivet-dev/rivet#5762 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Serverless listener forwards /start to the application when basePath is "/"Posiblemente ocupada @Saisharathchandranandnetha la tomó hace 38 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
rivet-dev/rivet#5755 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 22/100
rivet-dev/rivet#5915 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de rivet-dev/rivet
Issues similares
-
muse P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
HerringtonDarkholme/hd-lang#923 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
longbridge/gpui-kit#3712 ·
Los mantenedores suelen responder en 1 día
-
documentation enhancement SIEM
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ADORSYS-GIS/wazuh-agent-status#265 ·
Los mantenedores suelen responder en 2 días
-
documentation enhancement SIEM
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
[Feature] 数据表查询结果转置后显示字段注释Abiertoai-priority/P2 enhancement user-priority/P0
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
t8y2/dbx#13641 · 1 comentario ·
Los mantenedores suelen responder en 1 día