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

<!--
Copyright 2020 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 DataReductionProxy 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>

<histogram name="ConnectivityDetector.ConnectionState.{Client}"
    enum="ConnectivityDetectorConnectionState" expires_after="2023-04-20">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    Result of the connection state after the HTTP Probe made by connectivity
    detector finishes and the connection state is updated.
  </summary>
  <token key="Client">
    <variant name="OfflineDetector"/>
    <variant name="OfflineIndicatorController"/>
  </token>
</histogram>

<histogram name="ConnectivityDetector.DefaultHttpProbeResult.{Client}"
    enum="ProbeResult" expires_after="2023-04-20">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    Result of the HTTP Probe made by connectivity detector. Recorded everytime
    the probe to the default URL completes (in either success or failure) or
    timeouts.
  </summary>
  <token key="Client">
    <variant name="OfflineDetector"/>
    <variant name="OfflineIndicatorController"/>
  </token>
</histogram>

<histogram name="ConnectivityDetector.FallbackHttpProbeResult.{Client}"
    enum="ProbeResult" expires_after="2023-04-20">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    Result of the HTTP Probe made by connectivity detector. Recorded everytime
    the probe to the fallback URL completes (in either success or failure) or
    timeouts.
  </summary>
  <token key="Client">
    <variant name="OfflineDetector"/>
    <variant name="OfflineIndicatorController"/>
  </token>
</histogram>

<histogram name="ConnectivityDetector.SentHttpProbe.{Client}" units="count"
    expires_after="2023-04-20">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>src/chrome/browser/data_saver/OWNERS</owner>
  <summary>
    Count of times when a HTTP Probe was made by connectivity detector.
  </summary>
  <token key="Client">
    <variant name="OfflineDetector"/>
    <variant name="OfflineIndicatorController"/>
  </token>
</histogram>

<histogram name="DataUse.AppTabState" units="bytes" expires_after="2023-05-07">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    Records the data use of Chrome user traffic by the foregound vs. background
    state of the app and tab.
  </summary>
</histogram>

<histogram name="DataUse.BytesReceived3.Delegate" units="bytes"
    expires_after="2025-02-10">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    Count of total bytes received by the Chrome on the network, as reported by
    the network delegate. This is recorded when requests complete.
  </summary>
</histogram>

<histogram name="DataUse.BytesSent3.Delegate" units="bytes"
    expires_after="2025-01-05">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    Count of total bytes sent by the Chrome on the network, as reported by the
    network delegate. With network servicification this is recorded when
    requests complete.
  </summary>
</histogram>

<histogram name="DataUse.ContentType.UserTrafficKB" enum="DataUseContentType"
    expires_after="2023-03-05">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    Data use of user traffic by different content types. Recorded in KB when
    network bytes are received by Chrome.
  </summary>
</histogram>

<histogram name="DataUse.TrafficSize.User" units="bytes"
    expires_after="2025-03-25">
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <owner>[email protected]</owner>
  <summary>
    The total amount of data use of Chrome for user traffic. This traffic has
    content::ResourceRequestInfo attached to its request. If the OS is not
    Android all the requests are considered foreground.
  </summary>
</histogram>

</histograms>

</histogram-configuration>