Ruby/Rails logs onboarding suggests removed enable_logs
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 82/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rails, react, ruby, typescript
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với static/app/gettingStartedDocs/ruby-rails/onboarding.tsx, ruby/onboarding.tsx và ruby/logs.tsx, so sánh các đoạn mã của chúng với hành vi của sentry-ruby 7.x. Xóa hướng dẫn về config.enable_logs = true và cập nhật ghi chú phiên bản cùng hướng dẫn về structured logging để khớp với các thay đổi trong 7.0.0/7.1.0. Hoàn thành khi các đoạn mã onboarding cho Ruby và Rails không còn hiển thị tùy chọn đã bị xóa và nội dung về logs phản ánh cách thiết lập hiện tại của 7.x.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The Ruby and Rails onboarding snippets tell users to set config.enable_logs = true. sentry-ruby removed that option in 7.0.0, so on current SDK versions (7.x, latest 7.2.0) the snippet raises NoMethodError in Sentry.init. Reported by a customer setting up Rails with sentry-ruby 7.2.0.
Affected onboarding code (pinned to f182595):
ruby-rails/onboarding.tsxL24–30: added when Logs is selectedruby/onboarding.tsxL22–28: same snippet for plain Rubyruby/logs.tsxL22–68: logs onboarding used by Ruby and Rails. The copy says to setenable_logs, the sample sets it, and the version note only mentions5.24.0 or higher
SDK changes behind this:
- 7.0.0, getsentry/sentry-ruby#3053: logs are enabled by default and
enable_logsis removed. No compatibility shim remains - 7.1.0, getsentry/sentry-ruby#3102: Rails structured logging is off by default. Turn it on with
config.rails.structured_logging.enabled = true
Workaround: drop the config.enable_logs = true line.
Open question: whether config.enabled_patches = [:logger] is still the recommended setup on 7.x.
cc @getsentry/value-discovery (CODEOWNERS for gettingStartedDocs) @sl0thentr0py (sentry-ruby)
via @danielsheccoury-sentry.
--
- Ngôn ngữ chính
- Python
- Star
- 45.7k
- Fork
- 5k
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 642
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 getsentry/sentry
-
Tag keys like os.name are auto-linked as domains in issue alert emailsCó thể đã có người làm @ashrafulX đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
getsentry/sentry#129182 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
find_referenced_groups: Fixes-keyword ID list spans newlines, linking wrong issues as fixedCó thể đã có người làm @CodeAlex52 đã nhận 42 ngày trước. Đang mởProduct Area: Releases Waiting for: Product Owner
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
getsentry/sentry#125575 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Cocoa replays hide Logs tab on supported SDK versionsCó thể đã có người làm @Brian-An đã nhận 32 ngày trước. Đang mởBug Cocoa Replays
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
getsentry/sentry#124217 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SAML2 Login Dark modeĐang mởProduct Area: Settings - Auth Waiting for: Product Owner
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
getsentry/sentry#122437 · 6 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Incorrect Russian translation in django.poCó thể đã có người làm @nightcityblade đã nhận 28 ngày trước. Đang mởBug Good First Issue Product Area: Settings - Integrations
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
getsentry/sentry#120651 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của getsentry/sentry
Issue tương tự
-
release
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
MichaelYcJo/SpecSeal#1535 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
valentinfrlch/ha-llmvision#769 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
daniel-ospina/tortoise#11937 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted python up-for-grabs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
andrewsiah/agentswarm-data-tasks#238 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
cadence-workflow/cadence-ai-samples#175 ·
Maintainer thường phản hồi trong vòng 1 ngày