Issue 1448179 in chromium: Remove expired histograms DirectWrite.Fonts.Proxy.CreateFontFaceResult

1 view
Skip to first unread message

histogram-eraser via monorail

unread,
May 23, 2023, 11:50:03 AM5/23/23
to layou...@chromium.org
Status: Untriaged
Owner: ----
CC: layou...@chromium.org, dr...@chromium.org
Labels: Hotlist-ExpiredHistograms-CodeHealthRotation
Components: Internals>Core
Pri: 3
Type: Task

New issue 1448179 by histogra...@uma-hrd.google.com.iam.gserviceaccount.com: Remove expired histograms DirectWrite.Fonts.Proxy.CreateFontFaceResult
https://bugs.chromium.org/p/chromium/issues/detail?id=1448179

The following histograms are marked as expired in histograms.xml but still exist in the codebase:
- DirectWrite.Fonts.Proxy.CreateFontFaceResult (expired as of 2022-10-15)

The following code locations were found:

content/browser/renderer_host/dwrite_font_file_util_win.cc:28:
base::UmaHistogramSparse("DirectWrite.Fonts.Proxy.CreateFontFaceResult",

As these histograms are expired, no data for them gets collected. To reduce technical debt, the logging code for these histograms should be removed, including any supporting code. This is the recommended course of action for the majority of such histograms.

In rare cases, a histogram's code should be kept around, such as for debugging purposes. Such histograms must be clearly annotated in histograms.xml per the following instructions:
https://chromium.googlesource.com/chromium/src/+/HEAD/tools/metrics/histograms/README.md#Intentionally-expired-histograms

If you're an owner of any of the histograms, please triage this bug and either:
- If the histogram should be removed:
- Recommended: Mark the bug as Available and add the label Proj-CodeHealthRotation-Bug.
- Or, assign to yourself if you'd prefer to do the clean up yourself.
- Otherwise, annotate the histograms as intentionally expired (see above) and update the bug.
- If you believe the bug was filed in error, cc:asvi...@chromium.org and mention the problem.

Available bugs with the label Proj-CodeHealthRotation-Bug will be eligible for cleanup by participants in the code health rotation.

If the bug is left in the Untriaged state without any activity by histogram owner(s), we will consider that the histogram is not needed and it will be considered for removal.

--
You received this message because:
1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment or make updates.

gavinmak via monorail

unread,
Aug 17, 2023, 11:09:52 AM8/17/23
to layou...@chromium.org
Updates:
Status: Fixed

Comment #1 on issue 1448179 by gavi...@google.com: Remove expired histograms DirectWrite.Fonts.Proxy.CreateFontFaceResult
https://bugs.chromium.org/p/chromium/issues/detail?id=1448179#c1

Removed in https://crrev.com/c/4749123
Reply all
Reply to author
Forward
0 new messages