oncall: add new location for production.
Also make oncall dashboard more compact.
Change-Id: Ib47e7e9c43fe4bdee3332ee7f8e6ba88d043930d
diff --git a/oncall/client/browser/components/status-table/index.js b/oncall/client/browser/components/status-table/index.js
index c0a0de5..be3e7d6 100644
--- a/oncall/client/browser/components/status-table/index.js
+++ b/oncall/client/browser/components/status-table/index.js
@@ -201,7 +201,7 @@
// Handle current value over threshold.
var overThreshold = (
colData.threshold && metricData.CurrentValue >= colData.threshold);
- var thresholdValue = -1;
+ var thresholdValue = -100;
if (overThreshold) {
extraColMetricClass = '.unhealthy';
thresholdValue = (colData.threshold-metricData.MinValue)/
diff --git a/oncall/client/stylesheets/components/status-table.css b/oncall/client/stylesheets/components/status-table.css
index 3926cf8..e4ae455 100644
--- a/oncall/client/stylesheets/components/status-table.css
+++ b/oncall/client/stylesheets/components/status-table.css
@@ -67,8 +67,8 @@
top: 6px;
color: white;
font-size: 14px;
- height: 38px;
- line-height: 38px;
+ height: var(--col-metric-content-height);
+ line-height: var(--col-metric-content-height);
}
div.status-table .col-metric div.cur-value.history {
@@ -85,10 +85,10 @@
div.status-table .col-metric div.sparkline {
position: absolute;
- top: 6px;
+ top: 4px;
left: 6px;
width: 156px;
- height: 40px;
+ height: var(--col-metric-content-height);
}
div.status-table .col-metric svg {
@@ -96,7 +96,7 @@
top: 0px;
left: 0px;
width: 156px;
- height: 40px;
+ height: var(--col-metric-content-height);
}
div.status-table .col-metric svg.mouse-line {
@@ -104,7 +104,7 @@
top: 0px;
left: 6px;
width: 156px;
- height: 50px;
+ height: var(--col-metric-height);
}
div.status-table .col-metric svg.content {
diff --git a/oncall/client/stylesheets/variables.css b/oncall/client/stylesheets/variables.css
index 1edc3cd..c44e5cc 100644
--- a/oncall/client/stylesheets/variables.css
+++ b/oncall/client/stylesheets/variables.css
@@ -63,7 +63,8 @@
--section-shadow: rgba(0, 0, 0, 0.30) 0px 0px 4px 0px;
/* Heights */
- --col-metric-height: 50px;
+ --col-metric-height: 36px;
+ --col-metric-content-height: 28px;
--header-height: 60px;
--zone-title-height: 40px;
--full-graph-height: 240px;
diff --git a/oncall/serve.go b/oncall/serve.go
index 8230847..553b43c 100644
--- a/oncall/serve.go
+++ b/oncall/serve.go
@@ -154,6 +154,10 @@
zone: "us-central1-c",
},
{
+ project: "vanadium-production",
+ zone: "us-east1-c",
+ },
+ {
project: "vanadium-auth-production",
zone: "us-central1-c",
},