Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document describes our squad’s footprint in New Relic. It’s not so bad.

About Code Owners

Code in edx-platform has been annotated with code owners via the Tech Ownership Assignment spreadsheet - we’re community-engineering. When code throws an error, it gets logged to New Relic. Our alert policies below have been specifically setup to include a “where” clause in their NRQL (New Relic Query Language) that filters down to code owned by us - you’ll see it if you look at the NRQL in the policy alert conditions. Conceptually all alerts in the platform are evaluated against all the alert policies and they pick up any that apply to them and send alerts out on their notification channels. We’ve created ones that filter by our squad name.

So that’s why we only get alerted for stuff we own.

We could also create alert policies for stuff that doesn’t get filtered by code owner if we really wanted - and that’s what we do for the two micro-frontend we own. There are alert policies for those - we just set them to only alert our squad. A different squad could take the over just by changing the notification channels.

Alert Policies

You can search alert policies here: https://one.nr/0bEjOpGmpQ6

...