Chelsyx has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/341744 )
Change subject: Annotate Reportupdater migration on graphs ...................................................................... Annotate Reportupdater migration on graphs Bug: T150915 Change-Id: If916e90d5b11e6a2ee6f9582b0603d6d7b224b9e --- M server.R M tab_documentation/traffic_byengine.md M tab_documentation/traffic_summary.md 3 files changed, 14 insertions(+), 10 deletions(-) Approvals: Chelsyx: Verified; Looks good to me, approved diff --git a/server.R b/server.R index 1888f89..b0863cf 100644 --- a/server.R +++ b/server.R @@ -7,12 +7,12 @@ existing_date <- Sys.Date() - 1 function(input, output, session) { - + if (Sys.Date() != existing_date) { read_traffic() existing_date <<- Sys.Date() } - + output$traffic_summary_dygraph <- renderDygraph({ summary_traffic_data[[input$platform_traffic_summary]] %>% polloi::smoother(smooth_level = polloi::smooth_switch(input$smoothing_global, input$smoothing_traffic_summary)) %>% @@ -21,9 +21,10 @@ dyLegend(labelsDiv = "traffic_summary_legend", show = "always", showZeroValues = FALSE) %>% dyRangeSelector %>% dyEvent(as.Date("2016-03-07"), "A (new UDF)", labelLoc = "bottom") %>% - dyEvent(as.Date("2016-06-26"), "B (DuckDuckGo)", labelLoc = "bottom") + dyEvent(as.Date("2016-06-26"), "B (DuckDuckGo)", labelLoc = "bottom") %>% + dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom") }) - + output$traffic_bysearch_dygraph <- renderDygraph({ bysearch_traffic_data[[input$platform_traffic_bysearch]] %>% polloi::smoother(smooth_level = polloi::smooth_switch(input$smoothing_global, input$smoothing_traffic_bysearch)) %>% @@ -32,9 +33,10 @@ dyLegend(labelsDiv = "traffic_bysearch_legend", show = "always", showZeroValues = FALSE) %>% dyAxis("y", logscale = input$platform_traffic_bysearch_log) %>% dyRangeSelector(fillColor = "", strokeColor = "") %>% - dyEvent(as.Date("2016-06-26"), "A (DuckDuckGo)", labelLoc = "bottom") + dyEvent(as.Date("2016-06-26"), "A (DuckDuckGo)", labelLoc = "bottom") %>% + dyEvent(as.Date("2017-01-01"), "R (reportupdater)", labelLoc = "bottom") }) - + # Check datasets for missing data and notify user which datasets are missing data (if any) output$message_menu <- renderMenu({ notifications <- list( @@ -43,5 +45,5 @@ notifications <- notifications[!sapply(notifications, is.null)] return(dropdownMenu(type = "notifications", .list = notifications)) }) - + } diff --git a/tab_documentation/traffic_byengine.md b/tab_documentation/traffic_byengine.md index b6e7571..30d33ac 100644 --- a/tab_documentation/traffic_byengine.md +++ b/tab_documentation/traffic_byengine.md @@ -11,7 +11,8 @@ Outages and notes ------ -- **A**: On 25 August 2016 we patched the UDF to also look for [Duck Duck Go](https://duckduckgo.com) when it processes referer data. That referreral data was deleted and backfilled from 26 June 2016. See [T143287](https://phabricator.wikimedia.org/T143287) for more details. +* '__A__': on 2016-08-25 we patched the UDF to also look for [Duck Duck Go](https://duckduckgo.com) when it processes referer data. That referreral data was deleted and backfilled from 26 June 2016. See [T143287](https://phabricator.wikimedia.org/T143287) for more details. +* '__R__': on 2017-01-01 we started calculating all of Discovery's metrics using a new version of [our data retrieval and processing codebase](https://phabricator.wikimedia.org/diffusion/WDGO/) that we migrated to [Wikimedia Analytics](https://www.mediawiki.org/wiki/Analytics)' [Reportupdater infrastructure](https://wikitech.wikimedia.org/wiki/Analytics/Reportupdater). See [T150915](https://phabricator.wikimedia.org/T150915) for more details. Questions, bug reports, and feature suggestions ------ diff --git a/tab_documentation/traffic_summary.md b/tab_documentation/traffic_summary.md index b1b7cf6..e8f0919 100644 --- a/tab_documentation/traffic_summary.md +++ b/tab_documentation/traffic_summary.md @@ -10,9 +10,10 @@ Outages and notes ------ -- **A**: We switched to a finalized version of the UDF that extracts internal traffic (see [T130083](https://phabricator.wikimedia.org/T130083)) -- **B**: On 25 August 2016 we patched the UDF to also look for [Duck Duck Go](https://duckduckgo.com) when it processes referer data. That referreral data was deleted and backfilled from 26 June 2016. See [T143287](https://phabricator.wikimedia.org/T143287) for more details. +* '__A__': We switched to a finalized version of the UDF that extracts internal traffic (see [T130083](https://phabricator.wikimedia.org/T130083)) +* '__B__': on 25 August 2016 we patched the UDF to also look for [Duck Duck Go](https://duckduckgo.com) when it processes referer data. That referreral data was deleted and backfilled from 26 June 2016. See [T143287](https://phabricator.wikimedia.org/T143287) for more details. - On 22 February 2016, a bug was introduced and some of the internally referred traffic are miscategorized as none. See [T148780](https://phabricator.wikimedia.org/T148780) and [T154722](https://phabricator.wikimedia.org/T154722) for more details. +* '__R__': on 2017-01-01 we started calculating all of Discovery's metrics using a new version of [our data retrieval and processing codebase](https://phabricator.wikimedia.org/diffusion/WDGO/) that we migrated to [Wikimedia Analytics](https://www.mediawiki.org/wiki/Analytics)' [Reportupdater infrastructure](https://wikitech.wikimedia.org/wiki/Analytics/Reportupdater). See [T150915](https://phabricator.wikimedia.org/T150915) for more details. Questions, bug reports, and feature suggestions ------ -- To view, visit https://gerrit.wikimedia.org/r/341744 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If916e90d5b11e6a2ee6f9582b0603d6d7b224b9e Gerrit-PatchSet: 2 Gerrit-Project: wikimedia/discovery/wonderbolt Gerrit-Branch: master Gerrit-Owner: Bearloga <mpo...@wikimedia.org> Gerrit-Reviewer: Chelsyx <c...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits