getsentry / raven-go

Sentry client in Go
https://sentry.io
BSD 3-Clause "New" or "Revised" License
561 stars 147 forks source link

How to add a Fingerprint to the Capture? #231

Open DarrenTsung opened 5 years ago

DarrenTsung commented 5 years ago

Hi, we're using the Capture* API like CapureError (https://godoc.org/github.com/getsentry/raven-go#CaptureError). Is it possible to attach a fingerprint to the packet sent?

I see that Fingerprints exist on the Packet, but can't find a way to add it to the packet except by constructing a packet and losing out on all the logic that happens inside CaptureError.

kamilogorek commented 5 years ago

Unfortunately, there's no way to do that now. Labeled as a feature, as it's something that we definitely should bring here.

bohyunjung commented 5 years ago

@kamilogorek Can I look into this issue, if it is not being dealt with? I also need to add fingerprint to the packets, so I would like to implement the feature.

kamilogorek commented 5 years ago

Definitely, feel free to do that