Allow disabling metrics collection in SwiftMetrics integration
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Swift
- Star
- 182
- Fork
- 29
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của swift-server/RediStack
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
swift-server/RediStack#135 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
swift-server/RediStack#131 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
swift-server/RediStack#129 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
swift-server/RediStack#127 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
swift-server/RediStack#126 ·
Tất cả issue của swift-server/RediStack
Issue tương tự
-
Review backlog (style): Test helper still reads stdout after waitUntilExitCó thể đã có người làm @hivecommons-hive đã nhận hôm nay. Đang mởagent/reviewer help wanted hive/claimed-by-scanner stage/030-pr-in-progress
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
hivecommons/hotshot#243 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
jonathanong/no-mistakes#2261 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
addition
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
jaywcjlove/awesome-mac#3621 ·
Maintainer thường phản hồi trong vòng 1 ngày