edx / edx-arch-experiments

A plugin to include applications under development by the architecture team at edx
GNU Affero General Public License v3.0
0 stars 3 forks source link

Update New Relic short links using one.nr #323

Closed robrap closed 1 year ago

robrap commented 1 year ago

We need to update any https://one.nr/XXXX shortlink to read https://onenr.io/XXXX instead.

See https://forum.newrelic.com/s/hubtopic/aAX8W0000008eBdWAI/onenr-domain-for-short-links-eol for details.

Potential updates:

A/C

Notes:

jmbowman commented 1 year ago

Would https://marketplace.atlassian.com/apps/1224660/link-management-for-confluence?hosting=cloud&tab=overview potentially help?

robrap commented 1 year ago

Would marketplace.atlassian.com/apps/1224660/link-management-for-confluence?hosting=cloud&tab=overview potentially help?

Thanks @jmbowman. I didn't open a ticket, but used Atlassian to send a request to our admin. We'll see if we hear anything, or someone could also open a helpdesk ticket.

rgraber commented 1 year ago

Updated links in all arch bom runbooks. We decided to do everything else more ad-hoc rather than trying to proactively search all of Confluence.

rgraber commented 1 year ago

Verified we had nothing in dashboards by running python ./edx_django_utils/monitoring/scripts/new_relic_nrql_search.py --regex "one.nr" and python ./edx_django_utils/monitoring/scripts/new_relic_nrql_search.py --regex "one\.nr"

robrap commented 1 year ago

@rgraber: I didn't make this stand out enough, but that script would need modification, because it only searches NRQL. It doesn't search the text yet, and not sure that we would want that script to change, but you could edit and create a new script (or option). See https://onenr.io/0Bj3LAKkdQX for an example dashboard that you would want to be found.

rgraber commented 1 year ago

Updated all dashboards that were found by running the new version of the script with python ./edx_django_utils/monitoring/scripts/new_relic_search.py --regex one.nr --retries 2 except the Prospectus monitoring and Prospectus monitoring - New dashboards, which I don't seem to have permission to edit. The old one was deleted and I have asked the owner of the new one to allow me to edit.

rgraber commented 1 year ago

Prospectus monitoring - New has been updated