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
area/test-and-releaseIt flags unit/e2e/conformance/perf test issues for product featureskind/featureWell-understood/specified features, ready for coding.
In order to track some metrics around latency over time, we want to add instrumentation to the e2e tests
Requirements
Let's try to make this auto magic so that everyone who writes a test gets this for free
Let's try to do this without turning the test libs into a framework
These must be in a form that can be consumed by a tool such as Prow (e.g. written to a file, any other requirements here @adrcunha ? e.g. could writing to stdout be enough?)
Some ideas
Just record name of test, start time, end time (maybe make use of built in go test benchmarking?)
Automagically report the time between when an API call is made and when the polling finishes
Provide a function that allows test authors to arbitrarily report metrics they think are important
There is a separate document that describes the requirements for this functionality, so to try to make sure we are clear, the first idea listed above (which I implemented in #1335) will not meet the requirements which are:
We need to know how long it takes to create resources in the system, from the time we have declared we want them created (i.e. called "create") to the time that is realized (when our polling indicates the resource is in the desired state)
We want to be able to record the time taken for arbitrary e2e scenarios, e.g. scaling down to zero from some starting point, scaling up to >1.
Example scenarios:
Latency to create a configuration
Latency to create a route
Latency for a revision to get ready
Scale down to zero latency
Scale up to >1 latency
For each of these metrics we want to track, we must emit:
area/test-and-releaseIt flags unit/e2e/conformance/perf test issues for product featureskind/featureWell-understood/specified features, ready for coding.
Activity
bobcatfish commentedon Jun 25, 2018
There is a separate document that describes the requirements for this functionality, so to try to make sure we are clear, the first idea listed above (which I implemented in #1335) will not meet the requirements which are:
Example scenarios:
For each of these metrics we want to track, we must emit:
[RELEASE-v1.0.1] Update resolve version for 1.0.1 (knative#1008)
Merge pull request knative#1008 from openshift-knative/konflux/refere…