Enable Google Cloud Monitoring and Google Cloud Logging instead of

Influxdb for Google Compute Engine deployments.
This commit is contained in:
saadali
2015-05-04 16:49:28 -07:00
parent 7ce75689a0
commit 4569de7a46
20 changed files with 90 additions and 172 deletions

View File

@@ -68,9 +68,8 @@ var (
"monitoring-influx-grafana-controller": false,
}
expectedServices = map[string]bool{
influxdbService: false,
"monitoring-heapster": false,
"monitoring-grafana": false,
influxdbService: false,
"monitoring-grafana": false,
}
)
@@ -209,7 +208,7 @@ func testMonitoringUsingHeapsterInfluxdb(c *client.Client) {
if !ok {
Failf("failed to get master http client")
}
proxyUrl := fmt.Sprintf("%s/api/v1beta3/proxy/namespaces/default/services/%s/", getMasterHost(), influxdbService)
proxyUrl := fmt.Sprintf("%s/api/v1beta3/proxy/namespaces/default/services/%s:api/", getMasterHost(), influxdbService)
config := &influxdb.ClientConfig{
Host: proxyUrl,
// TODO(vishh): Infer username and pw from the Pod spec.