stackdriver: add debug logging

This commit is contained in:
Erik Sundell
2018-10-10 17:33:38 +02:00
parent 3999578300
commit b2c6c743ce
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -96,6 +96,7 @@ func (e *StackdriverExecutor) executeTimeSeriesQuery(ctx context.Context, tsdbQu
Results: make(map[string]*tsdb.QueryResult),
}
logger.Info("executeTimeSeriesQuery-authenticationType", "debug", e.dsInfo.JsonData.Get("authenticationType"))
authenticationType := e.dsInfo.JsonData.Get("authenticationType").MustString(jwtAuthentication)
if authenticationType == gceAuthentication {
defaultProject, err := e.getDefaultProject(ctx)