// If set to 'true' framework will gather ClusterAutoscaler metrics when gathering them for other components.
// If set to 'true' framework will gather ClusterAutoscaler metrics when gathering them for other components.
IncludeClusterAutoscalerMetricsbool
IncludeClusterAutoscalerMetricsbool
// Currently supported values are 'hr' for human-readable and 'json'. It's a comma separated list.
// Currently supported values are 'hr' for human-readable and 'json'. It's a comma separated list.
...
@@ -190,6 +191,7 @@ func RegisterCommonFlags() {
...
@@ -190,6 +191,7 @@ func RegisterCommonFlags() {
flag.BoolVar(&TestContext.GatherLogsSizes,"gather-logs-sizes",false,"If set to true framework will be monitoring logs sizes on all machines running e2e tests.")
flag.BoolVar(&TestContext.GatherLogsSizes,"gather-logs-sizes",false,"If set to true framework will be monitoring logs sizes on all machines running e2e tests.")
flag.StringVar(&TestContext.GatherMetricsAfterTest,"gather-metrics-at-teardown","false","If set to 'true' framework will gather metrics from all components after each test. If set to 'master' only master component metrics would be gathered.")
flag.StringVar(&TestContext.GatherMetricsAfterTest,"gather-metrics-at-teardown","false","If set to 'true' framework will gather metrics from all components after each test. If set to 'master' only master component metrics would be gathered.")
flag.BoolVar(&TestContext.GatherSuiteMetricsAfterTest,"gather-suite-metrics-at-teardown",false,"If set to true framwork will gather metrics from all components after the whole test suite completes.")
flag.BoolVar(&TestContext.GatherSuiteMetricsAfterTest,"gather-suite-metrics-at-teardown",false,"If set to true framwork will gather metrics from all components after the whole test suite completes.")
flag.BoolVar(&TestContext.AllowGatheringProfiles,"allow-gathering-profiles",true,"If set to true framework will allow to gather CPU/memory allocation pprof profiles from the master.")
flag.BoolVar(&TestContext.IncludeClusterAutoscalerMetrics,"include-cluster-autoscaler",false,"If set to true, framework will include Cluster Autoscaler when gathering metrics.")
flag.BoolVar(&TestContext.IncludeClusterAutoscalerMetrics,"include-cluster-autoscaler",false,"If set to true, framework will include Cluster Autoscaler when gathering metrics.")
flag.StringVar(&TestContext.OutputPrintType,"output-print-type","json","Format in which summaries should be printed: 'hr' for human readable, 'json' for JSON ones.")
flag.StringVar(&TestContext.OutputPrintType,"output-print-type","json","Format in which summaries should be printed: 'hr' for human readable, 'json' for JSON ones.")
flag.BoolVar(&TestContext.DumpLogsOnFailure,"dump-logs-on-failure",true,"If set to true test will dump data about the namespace in which test was running.")
flag.BoolVar(&TestContext.DumpLogsOnFailure,"dump-logs-on-failure",true,"If set to true test will dump data about the namespace in which test was running.")