Closed Bug 900760 Opened 6 years ago Closed 6 years ago

Write metrics to database on user action instead of parsing through log files after

Categories

(Cloud Services :: Server: Product Announcements Campaign Manager, defect)

x86
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mostlygeek, Assigned: mostlygeek)

References

(Blocks 1 open bug)

Details

(Whiteboard: [qa?])

Attachments

(1 file)

When I redid the deployment for campaign manager I didn't know there is supposed to be a cron job that goes through the logs and parses out clicks/views/statistics.

Need to interface with :jrconlin on which scripts are required and how to get the information into the database
Renamed the bug. 

Talked to :jrconlin. Since we have a better idea of the nature of the project / service now, writing the data into the database will be easier to maintain than parsing it out of logs via cronjob later.
Summary: Statistics parsing / recording is broken → Write metrics to database on user action instead of parsing through log files after
Attached image oJz5.png
Pull request with the functionality: https://github.com/mozilla-services/campaign_manager/pull/2

However there seems to be some bugs that causes stats not to be written.
Whiteboard: [qa?]
Bugs have been fixed see: https://github.com/mozilla-services/campaign_manager/commit/485f2558610322d1979efeea479b4db1e0256037

New staging server deployed and I'm going to wrap this up with some docs on how to QA the system.
This is fixed now. Will create a new bug for QA a new version of the campaign manager with the new functionality.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.