This repository was archived by the owner on Apr 7, 2025. It is now read-only.
File tree 3 files changed +262
-12
lines changed
3 files changed +262
-12
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,23 @@ module.exports = {
188
188
allPageHeaders : [ 'Referrer-Policy: no-referrer-when-downgrade' ] ,
189
189
} ,
190
190
} ,
191
+
192
+ {
193
+ resolve : `gatsby-build-newrelic` ,
194
+ options : {
195
+ NR_LICENSE_KEY : process . env . NEW_RELIC_LICENSE_KEY ,
196
+ NR_ACCOUNT_ID : process . env . NEW_RELIC_ACCOUNT_ID ,
197
+ SITE_NAME : process . env . SITE_NAME ,
198
+ collectTraces : true ,
199
+ collectLogs : true ,
200
+ collectMetrics : true ,
201
+ staging : true ,
202
+ customTags : {
203
+ featureFlag : process . env . FEATURE_FLAG ,
204
+ } ,
205
+ } ,
206
+ } ,
207
+
191
208
// Github API for sponsorship section on homepage
192
209
{
193
210
resolve : `gatsby-source-github-api` ,
Original file line number Diff line number Diff line change 15
15
"dotenv" : " ^10.0.0" ,
16
16
"feather-icons" : " ^4.28.0" ,
17
17
"gatsby" : " ^3.8.0" ,
18
+ "gatsby-build-newrelic" : " ^1.1.6" ,
18
19
"gatsby-image" : " ^3.8.0" ,
19
20
"gatsby-plugin-gatsby-cloud" : " ^3.0.0" ,
20
21
"gatsby-plugin-manifest" : " ^3.8.0" ,
79
80
"test:watch" : " yarn test -- --watch" ,
80
81
"test:update" : " yarn test -- --update-snapshot" ,
81
82
"eslint-check" : " eslint src/ gatsby/" ,
82
- "eslint-fix" : " eslint src/ gatsby/ --fix"
83
+ "eslint-fix" : " eslint src/ gatsby/ --fix" ,
84
+ "gatsby build" : " --open-tracing-config-file ./node_modules/gatsby-build-newrelic/zipkin-local.js --graphql-tracing"
83
85
},
84
86
"repository" : {
85
87
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments