You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#2667 will somewhat contribute to this as well, as it'll measure the time it takes to scale an application up from 1-X, arguably cold-start as well, just a slightly different category.
We have most of the metrics on the Kubernetes pod cold start available in
Prometheus already. This ticket would include the difference on top of the
pod start time. I don't know what level of tracing we have now for just the
knative layer, or if we want to add Prometheus "metrics" all the way up.
I've started poking at adding some more detailed tracing to autoscaler in #2726 - AIUI we only support promethus metrics recording in CI so I am not sure how we want to close that gap. IMO tracing is the right tool for the job here form the development side so I think our options are:
Get zipkin recording in our perf tests
Also report promethus metrics for each of these spans
we have enabled zipkin and prometheus in our perf tests. Have we enabled zipkin tracing for autoscaler? Last time I checked(few months ago :)), zipkin tracing was not available for internal knative components.
@greghaynes You definitely have the best instrumentation here. Would it be possible to try and add it to automation in 0.8?
For "v1" scope, I'd just like to see a benchmark in place that keeps us from going backwards on cold-start performance, not necessarily the deep visibility @greghaynes has, but bonus points the more we have.
Activity
greghaynes commentedon Nov 14, 2018
/milestone Scaling: Sub-Second Cold Start
vantuvt commentedon Dec 10, 2018
I'm curious, are there any open proposals on how to address this feature request at this time?
josephburnett commentedon Dec 10, 2018
@sjug you worked on this a bit. Do you have any recommendations?
vantuvt commentedon Dec 10, 2018
I don't have any recommendations at this time. However, I'd be interested in learning more about ideas that others have discussed in this space.
greghaynes commentedon Dec 10, 2018
#2323 would be nice to get in for reporting 'how much time is spent before our application begins executing' to testgrid
markusthoemmes commentedon Dec 11, 2018
#2667 will somewhat contribute to this as well, as it'll measure the time it takes to scale an application up from 1-X, arguably cold-start as well, just a slightly different category.
sjug commentedon Dec 11, 2018
greghaynes commentedon Dec 14, 2018
I've started poking at adding some more detailed tracing to autoscaler in #2726 - AIUI we only support promethus metrics recording in CI so I am not sure how we want to close that gap. IMO tracing is the right tool for the job here form the development side so I think our options are:
Thoughts from the CI folks?
/cc @jessiezcc @adrcunha @srinivashegde86
srinivashegde86 commentedon Mar 1, 2019
we have enabled zipkin and prometheus in our perf tests. Have we enabled zipkin tracing for autoscaler? Last time I checked(few months ago :)), zipkin tracing was not available for internal knative components.
srinivashegde86 commentedon Mar 1, 2019
We add the trace-id for every request made from the spoof library https://github.com/knative/pkg/blob/master/test/spoof/spoof.go#L172
greghaynes commentedon Mar 1, 2019
Working on adding tracing internally here: #2726
mattmoor commentedon Jun 24, 2019
@greghaynes You definitely have the best instrumentation here. Would it be possible to try and add it to automation in 0.8?
For "v1" scope, I'd just like to see a benchmark in place that keeps us from going backwards on cold-start performance, not necessarily the deep visibility @greghaynes has, but bonus points the more we have.
mattmoor commentedon Jul 11, 2019
I think we have this covered already in
serving/test/performance/scale_from_zero_test.go
Line 250 in e76807b
yuxiaoba commentedon Nov 1, 2019
Is there a way to get the cold-start timing collection from Prometheus now? @greghaynes
nimakaviani commentedon Nov 9, 2019
@yuxiaoba not yet, the implementation is still experimental and hasn't been merged. If you are interested in the implementation, you can have a look here: https://github.com/nimakaviani/serving/tree/pod-tracing-redux