open768 / curiosity_browser

php browser code for msss curiosity json feed
3 stars 0 forks source link

add new relic monitoring #16

Open open768 opened 3 months ago

open768 commented 3 months ago

add monitoring to see how often pages are visited. Using free new relic monitoring https://one.eu.newrelic.com/

open768 commented 2 months ago

there is an error in the console

Image

Access to XMLHttpRequest at 'https://bam.eu01.nr-data.net/1/?...' from origin 'https://dev.mars-browser.co.uk:8443' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

open768 commented 2 months ago

added

    header( "Access-Control-Allow-Headers: newrelic, traceparent, tracestate");
    header( "Access-Control-Allow-Origin: *");

but seeing same problem

open768 commented 2 months ago

new relic documentation

open768 commented 2 months ago

more documentation here

open768 commented 1 month ago

removed as it didnt work out of the box - using appdynamics monitoring - which did work out of the box 😁