Closed Bug 1723964 Opened 4 years ago Closed 4 years ago

update antenna to everett 2.0.0

Categories

(Socorro :: Antenna, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

Attachments

(5 files)

Everett redoes how configuration works for components. This bug covers updating Antenna to Everett 2.0.0 and updating configuration.

I started doing this when I was testing the changes in Everett 2.0.0. I have a bit more work to do.

Assignee: nobody → willkg
Status: NEW → ASSIGNED

So the Everett update was a minor refactoring of a lot of connective tissue in Antenna.

I extracted a crashmover from the breakpad_resource code. Saving and publishing crash reports is separate from parsing them. If we decide to handle other crash report types other than Breakpad, we'll want to use the same crashmover. Separating this out simplifies some things, too.

I reworked some configuration variable names so they're shorter. BREAKPAD_THROTTLER_THROTTLE_RULES is now just BREAKPAD_THROTTLER_RULES.

I did a pass on fixing and improving the configuration documentation. I want it to be easy to read and understand for ops folks so they can set things the right way and understand when configuration values aren't right.

I refactored how logging and metrics are set up to match what I did with Eliot which I think is clearer especially as your cross over interface boundaries.

Because this changes variable names, we need to update the infrastructure code. The migration looks like this:

  1. add the new variables to the infrastructure code, create a PR, land it
  2. create a PR for antenna with the everett changes, land it
  3. that'll deploy everything to stage
  4. test everything on stage and make sure things are configured correctly
  5. push to prod
  6. remove the old variables from the infrastructure code, create a PR, and land it

I pushed this to prod just now in bug #1724708. I updated the stage and prod dashboards because the "save crash" and "publish crash" metric keys had changed.

Marking as FIXED.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: