Rename :orgId to :instanceId in metrics graph url

- Renames placeholders `:orgId` to `:instanceId` in
  `--app.metrics-graph`
- Adjusts frontend client to use the provided instanceId by its host
  application (Weave Cloud)
This commit is contained in:
Roland Schilter
2018-12-14 10:23:00 -08:00
parent a721b49885
commit f8412c3204
5 changed files with 9 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ import (
)
const (
sampleMetricsGraphURL = "/prom/:orgID/notebook/new"
sampleMetricsGraphURL = "/prom/:instanceID/notebook/new"
)
var (