The default bug view has changed. See this FAQ.

Status

Infrastructure & Operations
WebOps: Other
--
minor
VERIFIED FIXED
8 years ago
4 years ago

People

(Reporter: morgamic, Assigned: chizu)

Tracking

other
All
Other
Bug Flags:
needs-downtime +

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
AMO update has to go out tonight for the 4.0.4 release.  More info to follow.
We should consider what to do with bug 466580 and its ilk, which are currently in on trunk.

Updated

8 years ago
Flags: needs-downtime+
IT will need to add a line to the parse_logs cronjob with type=collections.  If you show me the current cron script I can be more specific.

I also need to know what logs will be available to the script the first time it runs.  It will backfill as many as exist but if the logs have been rotated out since collections started we'll have to file another bug and run the script manually on those logs.
CCing drolo to keep him in the loop.  Once this bug is resolved your stats should be available.
(Reporter)

Comment 4

8 years ago
https://wiki.mozilla.org/Update:Developers/Database_Changes#4.0.4

Those need to be run on prod.

Comment 5

8 years ago
Examples of other scripts:
/usr/bin/php -f parse_logs.php logs=/data/stats/logs/im-log01/addons.mozilla.org temp=/tmp type=downloads geo=SJ
/usr/bin/php -f parse_logs.php logs=/data/stats/logs/nladm01/addons.mozilla.org temp=/tmp type=downloads geo=NL
/usr/bin/php -f parse_logs.php logs=/data/stats/logs/im-log01/versioncheck.addons.mozilla.org/ geo=SJ2 temp=/tmp type=updatepings date=$SJ_DATE
These should be added:

/usr/bin/php -f parse_logs.php logs=/data/stats/logs/im-log01/addons.mozilla.org temp=/tmp type=collections geo=SJ
/usr/bin/php -f parse_logs.php logs=/data/stats/logs/nladm01/addons.mozilla.org temp=/tmp type=collections geo=NL
(Reporter)

Comment 7

8 years ago
Stuff is tagged at r20760 and ready to go.
(Assignee)

Updated

8 years ago
Assignee: server-ops → thardcastle
(Assignee)

Comment 8

8 years ago
Created attachment 352666 [details]
Log of the updates made
(Assignee)

Comment 9

8 years ago
Pushed to production and SQL updates run. Stats script updated and added comment #6 to cron to run daily an hour after the existing stats run.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Verified FIXED; we're live.
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.