Skip to content
Snippets Groups Projects
Commit 7478079f authored by Keita Suzuki's avatar Keita Suzuki Committed by Chromium LUCI CQ
Browse files

Add SessionCreationInitiator metrics for Quic and Spdy

This CL adds new metrics to measure SessionCreationInitiator for Quic
and Spdy, for session to GWS. Since we want to record the creation
initiator for each session with at least one request (i.e. a session
that has been used at least once in order to avoid recording preconnects
which the connection was established was never used), we conduct the
following:

- Check how many streams we created for the session (preconnects do not
  request a stream)
- If we created more than one stream, we record the metric when
  destructing the session (following other metrics).

Bug: 372873699
Change-Id: I98e57fcbbd96b06b19e23d742b67a3dd192be718
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5992511


Reviewed-by: default avatarKenichi Ishibashi <bashi@chromium.org>
Reviewed-by: default avatarNidhi Jaju <nidhijaju@chromium.org>
Commit-Queue: Keita Suzuki <suzukikeita@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1378924}
parent b4fbcd80
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment