fix metrics reporting

pull/13101/head
Steven Powell 2021-12-06 10:45:50 -08:00
parent 295c4362bc
commit ae1037e343
1 changed files with 1 additions and 3 deletions

View File

@ -117,11 +117,9 @@ func exportMinikubeStart(ctx context.Context, projectID, containerRuntime string
func getExporter(projectID, containerRuntime string) (*stackdriver.Exporter, error) {
return stackdriver.NewExporter(stackdriver.Options{
ProjectID: projectID,
// MetricPrefix helps uniquely identify your metrics.
MetricPrefix: "minikube_start",
// ReportingInterval sets the frequency of reporting metrics
// to stackdriver backend.
ReportingInterval: 1 * time.Second,
ReportingInterval: 11 * time.Second,
DefaultMonitoringLabels: getLabels(containerRuntime),
})
}