New issue
Advanced search Search tips

Issue 866701 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Extend chromite.lib.metrics.ProxyMetric to full process tree

Project Member Reported by la...@chromium.org, Jul 23

Issue description

We currently fork a "sidecar" metrics process to handle metrics for parallel cbuildbot stage execution. We'd like to extend this to handle metrics for all cbuildbot descendent processes in order to a) annotate all those metrics with build details and b) reduce the amount of metrics traffic we send.
 
A) Be aware of chromite/lib/parallel.py
B) Python multiprocess managers support for network communication.

B might simplify sharing a process inside/outside the chroot.
Also plan for the longer-term vision that parallel stages will no longer be running on the same machine.

Sign in to add a comment