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

Allow disabling metrics collection in SwiftMetrics integration

Aperta
#133 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
swift
Ambito
backend

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:
Image

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

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 swift-server/RediStack

Tutte le issue di swift-server/RediStack

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.