Skip to content

Commit

Permalink
newrelic
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco committed Oct 7, 2023
1 parent 218345b commit 227f765
Show file tree
Hide file tree
Showing 3 changed files with 1,367 additions and 32 deletions.
20 changes: 20 additions & 0 deletions .ebextensions/newrelic.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
files:
"/etc/newrelic-infra.yml" :
mode: "000644"
owner: root
group: root
content: |
license_key: YOUR_LICENSE_KEY

commands:
# Create the agent’s yum repository
"01-agent-repository":
command: sudo curl -o /etc/yum.repos.d/newrelic-infra.repo https://download.newrelic.com/infrastructure_agent/linux/yum/amazonlinux/2/x86_64/newrelic-infra.repo
#
# Update your yum cache
"02-update-yum-cache":
command: yum -q makecache -y --disablerepo='*' --enablerepo='newrelic-infra'
#
# Run the installation script
"03-run-installation-script":
command: sudo yum install newrelic-infra -y
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"license": "MIT",
"private": true,
"scripts": {
"start": "node dist/app.js",
"start": "node -r newrelic dist/app.js",
"start:local": "ts-node -r dotenv/config app",
"watch": "concurrently \"nodemon app\" \"yarn generate --watch\"",
"build": "tsc",
Expand All @@ -27,7 +27,7 @@
"@gnosis.pm/safe-core-sdk": "^1.2.0",
"@graphql-tools/load-files": "^6.5.2",
"@graphql-tools/merge": "^8.2.1",
"@prisma/client": "^4.1.1",
"@prisma/client": "^5.3.1",
"@sanity/client": "^2.23.1",
"@sentry/node": "^7.56.0",
"@sentry/tracing": "^7.56.0",
Expand All @@ -49,8 +49,9 @@
"lodash": "^4.17.15",
"memory-cache": "^0.2.0",
"moment-timezone": "^0.5.34",
"newrelic": "^11.1.0",
"node-cron": "^3.0.0",
"prisma": "^4.1.1",
"prisma": "^5.3.1",
"safe-compare": "^1.1.4",
"stellate": "^1.15.2",
"ts-dotenv": "^0.8.1",
Expand Down Expand Up @@ -88,7 +89,7 @@
"testcontainers": "^8.0.0",
"ts-jest": "^28.0.7",
"ts-node": "^10.4.0",
"typescript": "^4.5.3",
"typescript": "^5.2.2",
"vitest": "^0.32.4",
"vitest-mock-extended": "^1.1.3"
}
Expand Down
Loading

0 comments on commit 227f765

Please sign in to comment.