Add ttr, the time-to-readiness reporting tool for managed resources #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of your changes
Fixes #69
This PR proposes a standalone, reusable time-to-readiness (ttr) reporting tool for managed resources. ttr is defined as the time it takes for a managed resource to acquire the
Ready=True
condition from the moment it's provisioned (metadata.creationTimestamp
), measured in seconds and was proposed here. This tool can be run against a cluster to collect the ttr measurements of a subset of managed resources found in the cluster. The subset of managed resources can be specified with a list of filter strings via the--filters
command-line option.Some example invocations of the tool are:
Sample output:
The output syntax is
<API group>/<API version>/<Kind>/<metadata.name>:<ttr>
on each line. The reportedttr
is in seconds.Command's usage document:
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested
Tested against provider-aws resources.