Allow disabling metrics collection in SwiftMetrics integration
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start by reading the SwiftMetrics integration and the configuration pattern used for RedisStack options; the issue does not name specific files or tests. Identify where metrics are emitted and how users configure the client, then check whether a setting can disable collection throughout the integration. Done means users can turn off RedisStack metrics, with tests confirming that disabled metrics are not emitted.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently, RedisStack automatically emits a large number of metrics using SwiftMetrics, and there is no way to turn this off.
This is problematic for production environments where external metrics backends (like InfluxDB, Prometheus, or StatsD) are used with limited quotas or billing per datapoint.
For example, after enabling RedisStack in an application that reports to InfluxDB, the metric volume became so high that it consumed the entire monthly limit overnight.
Here’s a screenshot of InfluxDB usage - the big spike at the end comes from RediStack:
This happens even when metrics are not essential for monitoring or debugging.
It would be very helpful to have a way to disable metrics entirely, similar to what Vapor allows with:
app.http.server.configuration.reportMetrics = false
- Lingua principale
- Swift
- Stelle
- 182
- Fork
- 29
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né 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 swift-server/RediStack
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
swift-server/RediStack#135 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
swift-server/RediStack#131 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
swift-server/RediStack#129 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
swift-server/RediStack#127 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
swift-server/RediStack#126 ·
Tutte le issue di swift-server/RediStack
Issue simili
-
area/kotlin
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
cable-report
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
darrylmorley/whatcable#656 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
omlahore/RemoveMacAI#67 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
521xueweihan/HelloGitHub#4049 ·
-
[quality] macOSScreenshotLocation(): configured-location branch (ScreenshotFiles.swift:30) never executes under swift testForse già presa @arteeh l’ha presa oggi. Apertaagent/quality agent/reviewer help wanted kind/test stage/040-covered-by-pr testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
hivecommons/hotshot#249 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno