Up until now, each in-product help feature has recorded their own histogram for how often they are triggered. However, this makes it hard to inspect the overall data for how often in-product help is triggered in general.
This CL therefore adds a new histogram that is triggered regardless of which feature invoked it: InProductHelp.ShouldTriggerHelpUI. That name is also the base name for the suffix-based feature specific histograms.
In addition, tests are added to ensure these histograms behave as expected.
Change-Id: I9c99494dc64f9c20fc2e811d7596ff0d7a7f72c2 Reviewed-on: https://chromium-review.googlesource.com/569259 Commit-Queue: Tommy Nyquist
1ffe5f1 Add overall histogram for triggering in-product help.
.../feature_engagement_tracker_impl_unittest.cc | 54 ++++++++++++++++++++++
.../feature_engagement_tracker/internal/stats.cc | 13 +++++-
tools/metrics/histograms/histograms.xml | 6 +--
3 files changed, 68 insertions(+), 5 deletions(-)