perf - Move skia perf over to the production BigTable instance.
Bug: skia:
Change-Id: I24d41b3dcba574622977f81459d0a87f5c9fb87f
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/197863
Auto-Submit: Joe Gregorio <jcgregorio@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
diff --git a/perf/create-ingestion-pubsub-topics.sh b/perf/create-ingestion-pubsub-topics.sh
index 32340e4..bee5b5a 100755
--- a/perf/create-ingestion-pubsub-topics.sh
+++ b/perf/create-ingestion-pubsub-topics.sh
@@ -6,7 +6,7 @@
source ../kube/config.sh
-TOPIC=perf-ingestion-skia
+TOPIC=perf-ingestion-skia-production
gcloud pubsub topics create ${TOPIC} || true
gsutil notification create -f json -e OBJECT_FINALIZE -t projects/${PROJECT_ID}/topics/${TOPIC} -p buildstats-json-v1 gs://skia-perf
diff --git a/perf/go/config/config.go b/perf/go/config/config.go
index b6c8a56..02a6c5f 100644
--- a/perf/go/config/config.go
+++ b/perf/go/config/config.go
@@ -39,11 +39,11 @@
var (
PERF_BIGTABLE_CONFIGS = map[string]*PerfBigTableConfig{
NANO: &PerfBigTableConfig{
- TileSize: 50,
+ TileSize: 256,
Project: "skia-public",
- Instance: "perf-bt",
- Table: "skia",
- Topic: "perf-ingestion-skia",
+ Instance: "production",
+ Table: "perf-skia",
+ Topic: "perf-ingestion-skia-production",
GitUrl: "https://skia.googlesource.com/skia",
Shards: 8,
},
diff --git a/perf/setup.sh b/perf/setup.sh
index 40dd884..6562501 100755
--- a/perf/setup.sh
+++ b/perf/setup.sh
@@ -3,6 +3,6 @@
# Creates the tables for Perf in BigTable.
# Skia instance.
-cbt --instance perf-bt createtable skia families=V:maxversions=1,S:maxversions=1,D:maxversions=1,H:maxversions=1
+cbt --instance production createtable perf-skia families=V:maxversions=1,S:maxversions=1,D:maxversions=1,H:maxversions=1
cbt --instance perf-bt createtable android families=V:maxversions=1,S:maxversions=1,D:maxversions=1,H:maxversions=1
cbt --instance perf-bt createtable ct families=V:maxversions=1,S:maxversions=1,D:maxversions=1,H:maxversions=1