From 89cbdba470e903f2095ee0dccdf00b76f24c6db1 Mon Sep 17 00:00:00 2001 From: Vihang Mehta Date: Mon, 22 May 2023 11:35:12 -0700 Subject: [PATCH] Reduce metrics scrape period (#1358) Summary: TSIA Relevant Issues: N/A Type of change: /kind cleanup Test Plan: Deploy a dev vizier Signed-off-by: Vihang Mehta --- src/vizier/services/cloud_connector/cloud_connector_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vizier/services/cloud_connector/cloud_connector_server.go b/src/vizier/services/cloud_connector/cloud_connector_server.go index fba3972e519..d7c612d67d0 100644 --- a/src/vizier/services/cloud_connector/cloud_connector_server.go +++ b/src/vizier/services/cloud_connector/cloud_connector_server.go @@ -58,7 +58,7 @@ func init() { pflag.String("vizier_name", "", "The name of the user's K8s cluster, assigned by Pixie cloud") pflag.String("deploy_key", "", "The deploy key for the cluster") pflag.Bool("disable_auto_update", false, "Whether auto-update should be disabled") - pflag.Duration("metrics_scrape_period", time.Minute, "Period that the metrics scraper should run at.") + pflag.Duration("metrics_scrape_period", 15*time.Minute, "Period that the metrics scraper should run at.") } func newVzServiceClient() (vizierpb.VizierServiceClient, error) { dialOpts, err := services.GetGRPCClientDialOpts()