chromium/tools/metrics/histograms/metadata/content_extraction/histograms.xml

<!--
Copyright 2023 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<!--
This file is used to generate a comprehensive list of
content_extraction histograms along with a detailed description for each
histogram.

For best practices on writing histogram descriptions, see
https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md

Please follow the instructions in the OWNERS file in this directory to find a
reviewer. If no OWNERS file exists, please consider signing up at
go/reviewing-metrics (Googlers only), as all subdirectories are expected to
have an OWNERS file. As a last resort you can send the CL to
[email protected].
-->

<histogram-configuration>

<histograms>

<variants name="InnerType">
  <variant name="Html" summary="inner-html"/>
  <variant name="Text" summary="inner-text"/>
</variants>

<histogram name="ContentExtraction.Inner{InnerType}.Size" units="bytes"
    expires_after="2025-01-26">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>Histogram for size of {InnerType} (in bytes).</summary>
  <token key="InnerType" variants="InnerType"/>
</histogram>

<histogram name="ContentExtraction.Inner{InnerType}.Time" units="ms"
    expires_after="2024-11-17">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    Histogram for the amount of time to extract {InnerType} from a page. Time is
    from call to get result in browser to when response is received from the
    renderer (in browser).
  </summary>
  <token key="InnerType" variants="InnerType"/>
</histogram>

<histogram name="ContentExtraction.Inner{InnerType}.ValidResults"
    enum="Boolean" expires_after="2024-12-08">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    Histogram for whether the whether the results for {InnerType} were valid.
    The value is false if the renderer crashed (or was killed) before the result
    was received.
  </summary>
  <token key="InnerType" variants="InnerType"/>
</histogram>

</histograms>

</histogram-configuration>