From 35fdd6132df28d4096019d97fa401b5e3a6561c1 Mon Sep 17 00:00:00 2001 From: Ryan Ahearn Date: Mon, 23 Jan 2023 12:00:58 -0500 Subject: [PATCH] Add onboarding step for new relic to infra-overview.md --- docs/infra-overview.md | 9 +++++++-- newrelic.ini | 3 +-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/infra-overview.md b/docs/infra-overview.md index db017f8f3..301d618d4 100644 --- a/docs/infra-overview.md +++ b/docs/infra-overview.md @@ -22,16 +22,21 @@ In SNS, we have 3 topics for SMS receipts. These are not currently functional, s Through Pinpoint, the API needs at least one number so that the application itself can send SMS for authentication codes. -The API also has access to AWS S3 buckets for storing CSVs of messages and contact lists. It does not access a third S3 bucket that stores agency logos. +The API also has access to AWS S3 buckets for storing CSVs of messages and contact lists. It does not access a third S3 bucket that stores agency logos. We may be able to provision these services through cloud.gov, as well. In addition to [s3 support](https://cloud.gov/docs/services/s3/), there is [an SES brokerpak](https://github.com/GSA-TTS/datagov-brokerpak-smtp) and work on an SNS brokerpak. +## New Relic + +We are using [New Relic](https://one.newrelic.com/nr1-core?account=3389907) for application monitoring and error reporting. When requesting access to New Relic, ask to be added to the Benefits-Studio subaccount. + ## Onboarding - [ ] Join [the GSA GitHub org](https://github.com/GSA/GitHub-Administration#join-the-gsa-organization) - [ ] Get permissions for the repos - [ ] Get access to the cloud.gov org && space - [ ] Get [access to AWS](https://handbook.tts.gsa.gov/launching-software/infrastructure/#cloud-service-provider-csp-sandbox-accounts), if necessary +- [ ] Get [access to New Relic](https://handbook.tts.gsa.gov/tools/new-relic/#how-do-i-get-access-to-new-relic), if necessary - [ ] Pull down creds from cloud.gov and create the local .env file - [ ] Do stuff! @@ -54,4 +59,4 @@ TODO: create env vars for these origin and destination email addresses for the r 6. Go to SNS console for \$AWS_PINPOINT_REGION, look at lefthand sidebar under "Mobile" and go to "Text Messaging (SMS)" 7. Scroll down to "Sandbox destination phone numbers" and tap "Add phone number" then follow the steps to verify (you'll need to be able to retrieve a code sent to each number) -At this point, you _should_ be able to complete both the email and phone verification steps of the Notify user sign up process! 🎉 \ No newline at end of file +At this point, you _should_ be able to complete both the email and phone verification steps of the Notify user sign up process! 🎉 diff --git a/newrelic.ini b/newrelic.ini index ee0d090dc..638dbf84e 100644 --- a/newrelic.ini +++ b/newrelic.ini @@ -45,7 +45,7 @@ distributed_tracing.enabled = true # application and reports this data to the New Relic UI at # newrelic.com. This global switch is normally overridden for # each environment below. -monitor_mode = false +monitor_mode = true # Sets the name of a file to log agent messages to. Useful for # debugging any issues with the agent. This is not set by @@ -198,7 +198,6 @@ thread_profiler.enabled = true [newrelic:development] app_name = us-notify-api (Development) -monitor_mode = true [newrelic:test] app_name = us-notify-api (Test)