Index: perf/go/ingest/main.go |
diff --git a/perf/go/ingest/main.go b/perf/go/ingest/main.go |
index 926ef4851b91c2509c21bd482b80110cea06f4e9..5245057df3ac56f18e257587848e274714cb9f63 100644 |
--- a/perf/go/ingest/main.go |
+++ b/perf/go/ingest/main.go |
@@ -35,6 +35,7 @@ var ( |
run = flag.String("run", "nano,nano-trybot,golden", "A comma separated list of ingesters to run.") |
graphiteServer = flag.String("graphite_server", "skia-monitoring-b:2003", "Where is Graphite metrics ingestion server running.") |
doOauth = flag.Bool("oauth", true, "Run through the OAuth 2.0 flow on startup, otherwise use a GCE service account.") |
+ local = flag.Bool("local", false, "Running locally if true. As opposed to in production.") |
) |
func Init() { |
@@ -156,7 +157,7 @@ func main() { |
} |
ingester.Init(client) |
- trybot.Init() |
+ trybot.Init(*local) |
goldingester.Init() |
ts := NewTimestamps(*timestampFile) |
ts.Read() |