bugsnag / bugsnag-wordpress

BugSnag error monitoring for WordPress sites
http://wordpress.org/plugins/bugsnag/
GNU General Public License v2.0
20 stars 15 forks source link

Add Optional Tracking for CloudFlare #52

Open bhubbard opened 4 years ago

bhubbard commented 4 years ago

For those sites that use CloudFlare it would be great to track their proxy info:

$_SERVER['HTTP_CF_IPCOUNTRY'] and $_SERVER['HTTP_CF_RAY']

johnkiely1 commented 4 years ago

Hi @bhubbard,

Thanks for the suggestion, we will look into this when priorities allow.

imjoehaines commented 4 years ago

Hey @bhubbard, we automatically record all $_SERVER values that start with "HTTP_". These should already be attached to errors in the "request" tab as Cf-Ipcountry and Cf-Ray as part of the "headers" object