You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Asoranking

From Wikitech-static
Jump to navigation Jump to search

asoranking is a python script deployed via Scap on stat1007. It generates the Autonomous Systems report once a month.

The EventLogging data the report is based on is pulled from Hive. asoranking runs as a monthly cron job under the analytics-privatedata user (a requirement to have access to the Kerberos keytab).

Since reports are expected to be generated once a month, monitoring checks that the latest report shouldn't be more than 32 days old. It also checks that the report is at least 1kb, ensuring that some data was generated properly.