Adding tags to breakpad reports

bakelew

Posted on
Apr 08 2021

Is it possible to add 'tags' to crash reports that are sent to the breakpad endpoint?

I am currently using CURL to send my crash reports similar to the sample Linux app here: send_minidump.sh

This works fine. However, I am unable to add tags or any additional contextual info to my crash reports. I tried appending tags to the URL as in here: Reporting API

Adding the ?tags=%5B%22test%22%5D, and various other versions has no affect on the tags that appear in the dashboard.

Is there another method to add tags to reports sent via the breakpad endpoint: https://api.raygun.com/entries/breakpad?


Deleted User

Raygun

Posted on
Apr 12 2021

Hi Lewis,

Thank you for getting in touch with us. We currently do not support including tags with error reports generated from Breakpad minidumps. We do allow for custom data to be included, which can then be search for within the Raygun web application.

Was there a particular scenario you were wishing to use the tags for? If this scenario is better covered by the use of tags I would recommend opening a feature request within our forums (https://raygun.com/thinktank/forum/2). We can then look to prioritise this on our product road map based upon community response.

Regards, Mitchell.


bakelew

Posted on
Apr 12 2021

Hi there,

Thanks for the response. We want to use the tags to contextualize the errors as they are received (e.g. from our internal testing environment, or from real users).

Yes, we could also achieve this goal through custom data - not necessarily tags. Can you advise how to add this custom data when sending Breakpad minidumps?

Thanks, Lewis

EDIT: I've been able to add custom data to my CURL command by adding e.g. -F example=test before the -F minidump=@/path/to/mini.dmp.

So my full command is: curl -H "x-apikey: <api_key>" -F <custom_key>=<custom_value> -F minidump=@/path/to/mini.dmp https://api.raygun.com/entries/breakpad


Deleted User

Raygun

Posted on
Apr 14 2021

Hi Lewis,

Sorry for the late reply. I am glad you found the way to include custom data through the cURL request. This can also be achieved at runtime when using the google_breakpad::CrashReportSender to post the minidump to Raygun. There is an example of this in the second code snippet on the Breakpad instructions page here.

Please let me know if there is anything else I can help you with.

Regards, Mitchell.


Reply