Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Custom fingerprint added to GenServer call crashes by client

Đang mở
#933 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@solnic đang làm issue này rồi.

Từ ngày 5/8/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Bug Elixir Errors
Issue Description

The client adds a custom fingerprint when the crash reason is due to a GenServer.call :timeout or :noproc, with the form [type, "genserver_call", call_args], see below:
https://github.com/getsentry/sentry-elixir/blob/f83b5080aec61e0618b01efe14de28fce5e914b3/lib/sentry/logger_handler.ex#L484-L488

Because of this, any fingerprinting done on the server side is overridden because custom client fingerprints are prioritised.

Since the call arguments might contain unique IDs and other values, what we've observed is that we get flooded with individual error reports, not grouped at all, where the default grouping or stack-trace grouping would've done a much better job at grouping these together.

I've added a workaround using the :before_send hook to remove the custom fingerprint added by the client itself, but wanted to raise that this seems like unexpected behaviour, for the client to add this kind of hard fingerprinting rule that I feel would often not manage to actually group events together.

Reproduction Steps

Run a GenServer.call(server, :timeout, 1) with a handler that sleeps a bit to reproduce timeout exits.

Expected Behavior

Events should not have a custom fingerprint rule unless we explicitly set one in the logger metadata.

Actual Behavior

The GenServer crashes end up with a custom client fingerprint that does not group events together because it includes the call arguments that are often unique.

Elixir Version

1.18.4-otp-28

SDK Version

11.0.1

Integration and Its Version

No response

Sentry Config

No response

Ngôn ngữ chính
Elixir
Star
693
Fork
218
Merge trung bình
2 ngày 4 giờ
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getsentry/sentry-elixir

Tất cả issue của getsentry/sentry-elixir

Issue tương tự

Thêm issue về Elixir

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.