Re: [Analytics] Whitelisting the Pageviews API to avoid Content Security Policy warnings

2018-03-26 Thread Dan Andreescu
Awesome, thanks Bryan, and thanks Leon for the report. On Mon, Mar 26, 2018 at 4:20 PM, Bryan Davis wrote: > On Mon, Mar 26, 2018 at 12:49 PM, Leon Ziemba > wrote: > > Hello Analytics! > > > > Recently, it seems browsers started throwing warnings when attempting to > > load resources via XHR, u

Re: [Analytics] Whitelisting the Pageviews API to avoid Content Security Policy warnings

2018-03-26 Thread Bryan Davis
On Mon, Mar 26, 2018 at 12:49 PM, Leon Ziemba wrote: > Hello Analytics! > > Recently, it seems browsers started throwing warnings when attempting to > load resources via XHR, unless they are whitelisted with a meta tag (I think > is how it works). > > So for instance, in the JavaScript console, >

[Analytics] Whitelisting the Pageviews API to avoid Content Security Policy warnings

2018-03-26 Thread Leon Ziemba
Hello Analytics! Recently, it seems browsers started throwing warnings when attempting to load resources via XHR, unless they are whitelisted with a meta tag (I think is how it works). So for instance, in the JavaScript console, https://tools.wmflabs.org/pageviews now throws the warning: [Report

Re: [Analytics] Latency of hourly vs daily endpoints?

2018-03-26 Thread Dan Andreescu
Also, I followed up and added the the FAQ: https://wikitech.wikimedia.org/wiki/Analytics/Systems/Wikistats/Metrics/FAQ#Why_do_pageviews_API_endpoints_serve_fresh_data_but_edit_API_endpoints_serve_monthly_data On Mon, Mar 26, 2018 at 10:46 AM, Dan Andreescu wrote: > (I ask this >>> because today

Re: [Analytics] Latency of hourly vs daily endpoints?

2018-03-26 Thread Dan Andreescu
> > (I ask this >> because today we have a lot of interest in append-only logs, like in >> Dat, Secure Scuttlebutt, and of course blockchains—systems where >> information cannot be repudiated after it's published. If Wikipedia >> rejects append-only logs and allows official history to be changed, >

Re: [Analytics] Latency of hourly vs daily endpoints?

2018-03-26 Thread Joseph Allemandou
Hi Ahmed, In my opinion the 126 discrepancy is due to deletes/restores complex patterns. The notion of 'fixed' is not super clear to me here :) About the data being updated monthly because of a full history scan, you're mostly right. Here is a summary of my view on it: - user and page tables mai