mirror of
https://github.com/grafana/grafana.git
synced 2026-06-09 00:23:05 -04:00
Suggested Dashboards: dashboardValidatorApp Improve App logging (#125658)
improve loggin when processing request
This commit is contained in:
parent
8425eaa32c
commit
aef4d62db7
1 changed files with 5 additions and 1 deletions
|
|
@ -201,7 +201,11 @@ func handleCheckRoute(
|
|||
Datasources: make([]validator.Datasource, 0, len(req.DatasourceMappings)),
|
||||
}
|
||||
|
||||
logger.Info("Processing request", "dashboardTitle", req.DashboardJSON["title"], "numMappings", len(req.DatasourceMappings))
|
||||
logger.Info("Processing request",
|
||||
"numMappings", len(req.DatasourceMappings),
|
||||
"datasourceUID", req.DatasourceMappings[0].UID,
|
||||
"datasourceType", req.DatasourceMappings[0].Type,
|
||||
)
|
||||
|
||||
// Get namespace from request (needed for datasource lookup)
|
||||
// Namespace format is typically "org-{orgID}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue