New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 678682 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocked on:
issue 684673

Blocking:
issue 673020
issue 697583



Sign in to add a comment

URL-Keyed metrics implementation.

Project Member Reported by holte@chromium.org, Jan 5 2017

Issue description

Need to implement a system for collecting and reporting URL-keyed metrics.

Full details at -- http://go/ukm 
 
Blockedon: 684673
Project Member

Comment 4 by bugdroid1@chromium.org, Feb 9 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1334c0aa8505dc48616233442f89e4b1fd1fb778

commit 1334c0aa8505dc48616233442f89e4b1fd1fb778
Author: holte <holte@chromium.org>
Date: Thu Feb 09 22:52:41 2017

UKM Sync Observer

Disables UKM when any there are any active profiles which do not
have history sync enabled.

Purges local UKM data + resets client ID when any profile disables history sync.
Purges local UKM data + resets client ID when UMA is disabled.

Depends on https://codereview.chromium.org/2657673004/

BUG= 678682 

Review-Url: https://codereview.chromium.org/2653693004
Cr-Commit-Position: refs/heads/master@{#449447}

[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/chrome/browser/metrics/chrome_metrics_service_client.cc
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/chrome/browser/metrics/chrome_metrics_service_client.h
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/metrics/metrics_service_client.cc
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/metrics/metrics_service_client.h
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/metrics_services_manager/metrics_services_manager.cc
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/metrics_services_manager/metrics_services_manager.h
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/ukm/BUILD.gn
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/ukm/observers/DEPS
[add] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/ukm/observers/sync_disable_observer.cc
[add] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/ukm/observers/sync_disable_observer.h
[add] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/ukm/observers/sync_disable_observer_unittest.cc
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/ukm/test_ukm_service.cc
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/ukm/ukm_service.cc
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/ukm/ukm_service.h
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/components/ukm/ukm_service_unittest.cc
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/ios/chrome/browser/metrics/BUILD.gn
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/ios/chrome/browser/metrics/ios_chrome_metrics_service_client.h
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/ios/chrome/browser/metrics/ios_chrome_metrics_service_client.mm
[modify] https://crrev.com/1334c0aa8505dc48616233442f89e4b1fd1fb778/tools/metrics/histograms/histograms.xml

Blocking: 697583
Project Member

Comment 7 by bugdroid1@chromium.org, Mar 1 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d960b4023800e7e90ae6752d2ec2a70bfc991674

commit d960b4023800e7e90ae6752d2ec2a70bfc991674
Author: Zhen Wang <zhenw@chromium.org>
Date: Wed Mar 01 21:52:00 2017

Add UKM client side API

This CL provides the generic client side API for using UKM. The added proto is
manually copied and adapted for the Chromium tree.

Design doc:
https://docs.google.com/a/google.com/document/d/1-EhiW4jzHIh9Ap74EdNr6LiwDp_oKQgtE-m9GkMbtrE/

BUG= 678682 
R=bmcquade@chromium.org, holte@chromium.org, oysteine@chromium.org, rkaplow@chromium.org

Review-Url: https://codereview.chromium.org/2704373003 .
Cr-Commit-Position: refs/heads/master@{#454050}

[modify] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/metrics/proto/BUILD.gn
[add] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/metrics/proto/ukm/entry.proto
[modify] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/metrics/proto/ukm/report.proto
[modify] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/metrics/proto/ukm/source.proto
[modify] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/ukm/BUILD.gn
[add] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/ukm/ukm_entry.cc
[add] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/ukm/ukm_entry.h
[add] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/ukm/ukm_entry_builder.cc
[add] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/ukm/ukm_entry_builder.h
[modify] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/ukm/ukm_service.cc
[modify] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/ukm/ukm_service.h
[modify] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/ukm/ukm_service_unittest.cc
[modify] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/ukm/ukm_source.cc
[modify] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/components/ukm/ukm_source.h
[modify] https://crrev.com/d960b4023800e7e90ae6752d2ec2a70bfc991674/tools/metrics/histograms/histograms.xml

Project Member

Comment 8 by bugdroid1@chromium.org, Mar 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d433dd5d64e4b2ffc352906dbf72bdd6d2df1fe8

commit d433dd5d64e4b2ffc352906dbf72bdd6d2df1fe8
Author: zhenw <zhenw@chromium.org>
Date: Thu Mar 02 03:43:44 2017

Add UKM API GetNewSourceID()

This CL adds a new UKM API GetNewSourceID(). So different subsystems
can use the same API to get new source ID to avoid collision.

BUG= 678682 

Review-Url: https://codereview.chromium.org/2727013002
Cr-Commit-Position: refs/heads/master@{#454168}

[modify] https://crrev.com/d433dd5d64e4b2ffc352906dbf72bdd6d2df1fe8/components/ukm/ukm_service.cc
[modify] https://crrev.com/d433dd5d64e4b2ffc352906dbf72bdd6d2df1fe8/components/ukm/ukm_service.h
[modify] https://crrev.com/d433dd5d64e4b2ffc352906dbf72bdd6d2df1fe8/components/ukm/ukm_service_unittest.cc

Project Member

Comment 9 by bugdroid1@chromium.org, Mar 3 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/91148407c7a785c2e49958dc99542626f7a77bbc

commit 91148407c7a785c2e49958dc99542626f7a77bbc
Author: rkaplow <rkaplow@chromium.org>
Date: Fri Mar 03 00:09:46 2017

Add Feature params for UKM Service to control thresholds on sources and entries.

BUG= 678682 

Review-Url: https://codereview.chromium.org/2727343004
Cr-Commit-Position: refs/heads/master@{#454448}

[modify] https://crrev.com/91148407c7a785c2e49958dc99542626f7a77bbc/components/ukm/ukm_service.cc
[modify] https://crrev.com/91148407c7a785c2e49958dc99542626f7a77bbc/components/ukm/ukm_service_unittest.cc

Project Member

Comment 11 by bugdroid1@chromium.org, Mar 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9e2fe00fdef6b5786d8077ceae63d92587b8110b

commit 9e2fe00fdef6b5786d8077ceae63d92587b8110b
Author: rkaplow <rkaplow@chromium.org>
Date: Fri Mar 17 00:44:51 2017

Create Field Trial param for whitelisting UKM Entries.

This allows us to have finer grained controls over which UKM Entries are currently being logged. If the param is empty, then we default to logging all Entry types.

BUG= 678682 

Review-Url: https://codereview.chromium.org/2749433002
Cr-Commit-Position: refs/heads/master@{#457631}

[modify] https://crrev.com/9e2fe00fdef6b5786d8077ceae63d92587b8110b/components/ukm/ukm_entry.h
[modify] https://crrev.com/9e2fe00fdef6b5786d8077ceae63d92587b8110b/components/ukm/ukm_service.cc
[modify] https://crrev.com/9e2fe00fdef6b5786d8077ceae63d92587b8110b/components/ukm/ukm_service.h
[modify] https://crrev.com/9e2fe00fdef6b5786d8077ceae63d92587b8110b/components/ukm/ukm_service_unittest.cc
[modify] https://crrev.com/9e2fe00fdef6b5786d8077ceae63d92587b8110b/tools/metrics/histograms/histograms.xml

Project Member

Comment 12 by bugdroid1@chromium.org, Mar 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/ab82339347fc9e1ef796652945996cd746469b03

commit ab82339347fc9e1ef796652945996cd746469b03
Author: rkaplow <rkaplow@chromium.org>
Date: Fri Mar 17 17:24:37 2017

Ensure UKM only sends URLs under a specific length (currently 2K).

BUG= 678682 

Review-Url: https://codereview.chromium.org/2756773002
Cr-Commit-Position: refs/heads/master@{#457802}

[modify] https://crrev.com/ab82339347fc9e1ef796652945996cd746469b03/components/ukm/ukm_service_unittest.cc
[modify] https://crrev.com/ab82339347fc9e1ef796652945996cd746469b03/components/ukm/ukm_source.cc

Comment 13 by holte@chromium.org, Mar 27 2017

Status: Fixed (was: Started)
The initial implementation is complete, will track further changes under smaller task bugs.

Sign in to add a comment