Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Issue 2509663002: Add a histogram for recording content suggestions local usage time stats. (Closed)

Created:
4 years, 1 month ago by markusheintz_
Modified:
4 years, 1 month ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a histogram for recording content suggestions local usage time stats. BUG=665873 Committed: https://crrev.com/43da4b6d12166dc10f397b2f09ace9fd4a7bb33e Cr-Commit-Position: refs/heads/master@{#432662}

Patch Set 1 #

Patch Set 2 : Fix a comment #

Total comments: 19

Patch Set 3 : Address comments #

Patch Set 4 : Fix typo #

Patch Set 5 : Address comments #

Total comments: 8

Patch Set 6 : Address comments #

Total comments: 6

Patch Set 7 : Updated historgram description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -0 lines) Patch
M components/ntp_snippets/content_suggestions_metrics.cc View 1 2 3 4 5 4 chunks +30 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (12 generated)
markusheintz_
Fix a comment
4 years, 1 month ago (2016-11-16 13:32:45 UTC) #1
markusheintz_
Marc could you take a look at this CL ? Thanks
4 years, 1 month ago (2016-11-16 13:42:24 UTC) #6
Marc Treib
https://codereview.chromium.org/2509663002/diff/20001/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2509663002/diff/20001/components/ntp_snippets/content_suggestions_metrics.cc#newcode166 components/ntp_snippets/content_suggestions_metrics.cc:166: // bucket is increased. Mention that "usage" means "impression" ...
4 years, 1 month ago (2016-11-16 14:14:29 UTC) #7
markusheintz_
https://codereview.chromium.org/2509663002/diff/20001/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2509663002/diff/20001/components/ntp_snippets/content_suggestions_metrics.cc#newcode166 components/ntp_snippets/content_suggestions_metrics.cc:166: // bucket is increased. On 2016/11/16 14:14:29, Marc Treib ...
4 years, 1 month ago (2016-11-16 14:52:13 UTC) #8
markusheintz_
Fix typo
4 years, 1 month ago (2016-11-16 14:53:50 UTC) #11
Marc Treib
https://codereview.chromium.org/2509663002/diff/20001/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2509663002/diff/20001/components/ntp_snippets/content_suggestions_metrics.cc#newcode166 components/ntp_snippets/content_suggestions_metrics.cc:166: // bucket is increased. On 2016/11/16 14:52:13, markusheintz_ wrote: ...
4 years, 1 month ago (2016-11-16 15:10:08 UTC) #14
Marc Treib
One more thing I just thought of: Should all this be for Articles only, or ...
4 years, 1 month ago (2016-11-16 15:30:35 UTC) #15
markusheintz_
Address comments
4 years, 1 month ago (2016-11-16 15:50:32 UTC) #16
markusheintz_
On 2016/11/16 15:30:35, Marc Treib wrote: > One more thing I just thought of: Should ...
4 years, 1 month ago (2016-11-16 15:51:24 UTC) #17
Marc Treib
The comment on histograms.xml (in patch set 2) still isn't addressed. https://codereview.chromium.org/2509663002/diff/80001/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): ...
4 years, 1 month ago (2016-11-16 16:00:56 UTC) #19
markusheintz_
Address comments
4 years, 1 month ago (2016-11-16 16:09:26 UTC) #20
markusheintz_
histogram comment addressed https://codereview.chromium.org/2509663002/diff/80001/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2509663002/diff/80001/components/ntp_snippets/content_suggestions_metrics.cc#newcode55 components/ntp_snippets/content_suggestions_metrics.cc:55: KnownCategories GetKnownCategory(Category category) { On 2016/11/16 ...
4 years, 1 month ago (2016-11-16 16:09:42 UTC) #21
markusheintz_
On 2016/11/16 16:09:42, markusheintz_ wrote: > histogram comment addressed > > https://codereview.chromium.org/2509663002/diff/80001/components/ntp_snippets/content_suggestions_metrics.cc > File components/ntp_snippets/content_suggestions_metrics.cc ...
4 years, 1 month ago (2016-11-16 16:12:35 UTC) #22
Marc Treib
LGTM with some more nits https://codereview.chromium.org/2509663002/diff/100001/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2509663002/diff/100001/components/ntp_snippets/content_suggestions_metrics.cc#newcode44 components/ntp_snippets/content_suggestions_metrics.cc:44: "NewTabPage.ContentSuggestions.UsageTimeLocal"; Maybe .ArticlesUsageTimeLocal since ...
4 years, 1 month ago (2016-11-16 16:14:03 UTC) #23
Marc Treib
https://codereview.chromium.org/2509663002/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2509663002/diff/100001/tools/metrics/histograms/histograms.xml#newcode37618 tools/metrics/histograms/histograms.xml:37618: + suggestions, at most once per NTP. On 2016/11/16 ...
4 years, 1 month ago (2016-11-16 16:14:32 UTC) #24
markusheintz_
https://codereview.chromium.org/2509663002/diff/100001/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2509663002/diff/100001/components/ntp_snippets/content_suggestions_metrics.cc#newcode44 components/ntp_snippets/content_suggestions_metrics.cc:44: "NewTabPage.ContentSuggestions.UsageTimeLocal"; On 2016/11/16 16:14:02, Marc Treib wrote: > Maybe ...
4 years, 1 month ago (2016-11-16 16:18:36 UTC) #25
markusheintz_
Steven could you take a look at the histograms.xml changes? Thanks
4 years, 1 month ago (2016-11-16 16:19:13 UTC) #26
Steven Holte
lgtm
4 years, 1 month ago (2016-11-16 20:10:35 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2509663002/120001
4 years, 1 month ago (2016-11-16 21:20:34 UTC) #29
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-11-16 23:45:16 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 23:50:13 UTC) #33
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/43da4b6d12166dc10f397b2f09ace9fd4a7bb33e
Cr-Commit-Position: refs/heads/master@{#432662}

Powered by Google App Engine
This is Rietveld 408576698