How to get a Histogram from Lacros?

19 views
Skip to first unread message

Masami Hiramatsu

unread,
May 2, 2024, 2:24:29 PMMay 2
to tast-users
Hi,

I'm making a test which queries a UMA histogram (Browser.Tabs.TotalSwitchDuration3), which is a browser related one.
But It seems that (chrome) metrics.GetHistogram() fetches the histogram only from Ash. If I enable Lacros, it fails to find the "Browser.Tabs.TotalSwitchDuration3". I guess because the 'tconn' (TestConn) argument is not connected to Lacros.
If it is correct, is there any way to open a TestConn for Lacros?

Thank you,

Georg Neis

unread,
May 6, 2024, 10:15:42 PMMay 6
to Masami Hiramatsu, tast-users

Masami Hiramatsu

unread,
May 8, 2024, 4:44:54 PMMay 8
to Georg Neis, tast-users
Ah, Ok. I need to make a tconn for Lacros instead of Ash. Let me try.

Thanks!

2024年5月7日(火) 11:15 Georg Neis <ne...@google.com>:
Reply all
Reply to author
Forward
0 new messages