Skip to content

Commit

Permalink
Add histogram metadata.
Browse files Browse the repository at this point in the history
Change-Id: If52f76b3a9ffcd2e9e86244e22d3c1282989adc1
  • Loading branch information
at-ninja committed Mar 25, 2024
1 parent 94f45b2 commit 2a9de01
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions tools/metrics/histograms/metadata/cobalt/histograms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,72 @@ Always run the pretty print utility on this file after editing:
</summary>
</histogram>

<histogram name="Cobalt.Media.XHR.RequestTiming.TcpHandshakeTime"
units="milliseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Timing data for the TCP handshake of XHR requests.
</summary>
</histogram>

<histogram name="Cobalt.Media.XHR.RequestTiming.DnsLookupTime"
units="milliseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Timing data for the DNS lookup of XHR requests.
</summary>
</histogram>

<histogram name="Cobalt.Media.XHR.RequestTiming.RequestTime"
units="milliseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Timing data for the request of XHR requests.
</summary>
</histogram>

<histogram name="Cobalt.Media.XHR.RequestTiming.TlsNegotiationTime"
units="milliseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Timing data for TLS negotiation of XHR requests.
</summary>
</histogram>

<histogram name="Cobalt.Media.XHR.RequestTiming.TimeToFetch"
units="milliseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Timing data for the full fetch of XHR requests.
</summary>
</histogram>

<histogram name="Cobalt.Media.XHR.RequestTiming.ServiceWorkerProcessingTime"
units="milliseconds" expires_after="never">
<!-- expires-never: Needed for long-term tracking of SourceBuffer latency. -->

<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Timing data for the service worker processing time of XHR requests.
</summary>
</histogram>

<histogram name="Cobalt.MediaDevices.MicCreationSucceeded" enum="Boolean"
expires_after="never">
<!-- expires-never: Needed for long-term tracking of device mic support. -->
Expand Down

0 comments on commit 2a9de01

Please sign in to comment.