Open rudouglas opened 3 years ago
We discussed if we really want to automatically install the latest browser agent and if that won't cause us problems.
de-coupling from our work to upgrade this plugin as isn't not required, so we can look at this later.
Freddy has already done work on including the agent via CDN, which means the plugin is always up to date with the latest agent version here. This is installable using
npm i gatsby-plugin-newrelic@alpha
which I tested out and it looks like it's working as expected but may need some further testing to ensure we're getting all the same data.The only change to be aware of is the
instrumentationType: proAndSPA
is nowinstrumentationType: spa
so this will need to be changed in each sitesbrowser-config.js
were appropriatemain
gatsby-plugin-newrelic
version in gatsby-theme-newrelic to the latestgatsby-theme-newrelic
gatsby-theme-newrelic
(Developer, Docs, OpenSource)proAndSpa
tospa
in the sitesgatsby-config.js
for thegatsby-theme-newrelic
plugin, for example here