<#7350 Measure plugin initializing latency and fix...
# flyte-github
a
#7350 Measure plugin initializing latency and fix queue latency Pull request opened by fg91 Why are the changes needed? • Flytepropeller currently emits a metric measuring how much time is spent by a plugin in the queued phase, i.e. a Pod waiting for being scheduled on a node. • This metric currently undercounts the queued time because the time stamp when we transitioned into this phase is reset too often. This PR fixes this. • I now also add a metric measuring how much time is spent by a plugin in the initializing phase, i.e. how long it takes for a Pod to transition from
ContainerCreating
to
Running
. What changes were proposed in this pull request? • Fix measurement of phase transition time stamps • Add a new metric that measures duration in initializing phase How was this patch tested? • Added unit test • Ran propeller with this change in a staging cluster and compared metrics to measured transitioning times Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. flyteorg/flyte