Page MenuHomePhabricator

Improve daily webrequest partition report {hawk} [5 pts]
Closed, ResolvedPublic

Description

Modify the refinery-dump-status-webrequest-partitions shell script to show percent loss instead of X. (script is already run daily via cron).

Difficulty: current script just checks whether success file is present to get actual numbers. You need to make hive report those. How? Execute hive via shell?
see: https://github.com/wikimedia/analytics-refinery/blob/master/bin/refinery-dump-status-webrequest-partitions#L461

Event Timeline

kevinator raised the priority of this task from to Medium.
kevinator updated the task description. (Show Details)
kevinator moved this task from Incoming to Tasked on the Analytics-Backlog board.
mforns edited projects, added Analytics-Kanban; removed Analytics-Backlog.
mforns set Security to None.
mforns edited projects, added Analytics-Backlog; removed Analytics-Kanban.

Change 245921 had a related patch set uploaded (by Mforns):
Add percent loss to refinery-dump-status script

https://gerrit.wikimedia.org/r/245921

Change 245921 merged by Joal:
Add percent loss to refinery-dump-status script

https://gerrit.wikimedia.org/r/245921

Just merged the code.
Another change is needed there: https://github.com/wikimedia/operations-puppet/blob/production/manifests/role/analytics/refinery.pp#L209
to add the --percent-lost parameter to the cron that sends email.
Also, should we send that email to more people ?

Change 246412 had a related patch set uploaded (by Mforns):
Add --percent-lost flag to refinery data check

https://gerrit.wikimedia.org/r/246412

@joal
There it is. I added also all Analytics' engineers to receive tha daily email.

Change 246412 merged by Ottomata:
Add --percent-lost flag to refinery data check

https://gerrit.wikimedia.org/r/246412